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

[Test]
public void CreateFixedAngleJointOnSingleBody()
{
    var joint = physics.CreateFixedAngleJoint(body, (float)Math.PI / 3);
    Assert.AreEqual(joint.BodyA, body);
    Assert.AreEqual(joint.BodyB, body);
}
See Also