BodyTests ApplyTorque 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 ApplyTorque()
Examples

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