Namespace: DeltaEngine.Physics2D.Tests
Assembly: DeltaEngine.Physics2D.Tests (in DeltaEngine.Physics2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Physics2D.Tests (in DeltaEngine.Physics2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void CreateFixedAngleJoint() { var joint = physics.CreateFixedAngleJoint(body, (float)Math.PI / 3); Assert.IsNotNull(joint); }
[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