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

[Test, CloseAfterFirstFrame]
public void ChangeLinearVelocity()
{
    body.LinearVelocity = new Vector2D(5, -5);
    Assert.AreEqual(new Vector2D(5, -5), body.LinearVelocity);
}
See Also