BodyTests ApplyAngularImpulse Method Delta Engine Documentation

Namespace: DeltaEngine.Physics2D.Tests
Assembly: DeltaEngine.Physics2D.Tests (in DeltaEngine.Physics2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ApplyAngularImpulse()
Examples

[Test, CloseAfterFirstFrame, Timeout(5000)]
public void ApplyAngularImpulse()
{
    body.ApplyAngularImpulse(10.0f);
    AdvanceTimeAndUpdateEntities();
    Assert.AreNotEqual(0.0f, body.Rotation);
}
See Also