BEPUphysics.EntityStateManagement.EntityStateWriteBuffer.EnqueueAngularVelocity C# (CSharp) Method

EnqueueAngularVelocity() public method

Enqueues a change to an entity's angular velocity.
public EnqueueAngularVelocity ( Entity entity, Microsoft.Xna.Framework.Vector3 &newAngularVelocity ) : void
entity BEPUphysics.Entities.Entity Entity to target.
newAngularVelocity Microsoft.Xna.Framework.Vector3 New angular velocity of the entity.
return void
        public void EnqueueAngularVelocity(Entity entity, ref Vector3 newAngularVelocity)
        {
            stateChanges.Enqueue(new EntityStateChange { target = entity, vector = newAngularVelocity, targetField = TargetField.AngularVelocity });
        }