Do I need to add anything to this method to reset an entity?
Posted: Thu Jan 06, 2011 10:25 pm
I would like to reset an entity is there anything I need to do other than the following:
Or should I just use:
Code: Select all
entity.LinearVelocity = new Vector3();
entity.AngularVelocity = new Vector3();
entity.InternalWorldTransform = Matrix.Identity;
Code: Select all
entity.MotionState = MotionState.DefaultState;