JointTests ChangeLineJointMotorSpeed 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 ChangeLineJointMotorSpeed()
Examples

[Test]
public void ChangeLineJointMotorSpeed()
{
    var bodyB = physics.CreateCircle(3.0f);
    var joint = physics.CreateLineJoint(body, bodyB, Vector2D.Zero);
    joint.MotorSpeed = 4.0f;
    Assert.AreEqual(joint.MotorSpeed, 4.0f);
}
See Also