Namespace: DeltaEngine.Physics2D.Farseer.Tests
Assembly: DeltaEngine.Physics2D.Farseer.Tests (in DeltaEngine.Physics2D.Farseer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Physics2D.Farseer.Tests (in DeltaEngine.Physics2D.Farseer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void TestFixedAngleJoint() { var body = physics.CreateCircle(3.0f); var joint = physics.CreateFixedAngleJoint(body, (float)Math.PI / 3); Assert.IsNotNull(joint); }
[Test] public void TestFixedAngleJointSameBodies() { var body = physics.CreateCircle(3.0f); var joint = physics.CreateFixedAngleJoint(body, (float)Math.PI / 3); Assert.AreEqual(joint.BodyA, body); Assert.AreEqual(joint.BodyB, body); }
See Also