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

[Test]
public void CheckRevoluteJointBodies()
{
    var bodyB = physics.CreateCircle(3.0f);
    var joint = physics.CreateRevoluteJoint(body, bodyB, Vector2D.Zero);
    Assert.AreEqual(joint.BodyA, body);
    Assert.AreEqual(joint.BodyB, bodyB);
}
See Also