示例#1
0
        protected AABB aABB;         //the axis aligned bounding box of the shape (recalculated every frame)

        public void SetConnectedPhysicsObject(PhysicsObject newConnected)
        {
            connected = newConnected;
        }
示例#2
0
 public Hit(float distanceAlongRay, PhysicsObject colliderHit)
 {
     this.distanceAlongRay = distanceAlongRay;
     objectHit             = colliderHit;
 }