Project290.Physics.Dynamics.Body.ApplyAngularImpulse C# (CSharp) Method

ApplyAngularImpulse() public method

Apply an angular impulse.
public ApplyAngularImpulse ( float impulse ) : void
impulse float The angular impulse in units of kg*m*m/s.
return void
        public void ApplyAngularImpulse(float impulse)
        {
            if (_bodyType != BodyType.Dynamic)
            {
                return;
            }

            if (Awake == false)
            {
                Awake = true;
            }

            AngularVelocityInternal += InvI*impulse;
        }