BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable.UpdateBoundingBox C# (CSharp) Метод

UpdateBoundingBox() публичный Метод

Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.
public UpdateBoundingBox ( float dt ) : void
dt float Timestep with which to update the bounding box.
Результат void
        public override void UpdateBoundingBox(float dt)
        {
            //The world transform update isn't strictly required for uninterrupted simulation.
            //The entity update method manages the world transforms.
            //However, the redundancy allows a user to change the position in between frames.
            //If the order of the space update changes to position-update-first, this is completely unnecessary.
            UpdateWorldTransform(ref entity.position, ref entity.orientation);
            UpdateBoundingBoxInternal(dt);
        }

Same methods

EntityCollidable::UpdateBoundingBox ( ) : void