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

[Test]
public void CheckAngleJointBodies()
{
    var bodyB = physics.CreateCircle(3.0f);
    var joint = physics.CreateAngleJoint(body, bodyB, (float)Math.PI / 2);
    Assert.AreEqual(joint.BodyA, body);
    Assert.AreEqual(joint.BodyB, bodyB);
}
See Also