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 TestLineJointMaxMotorTorque() { var bodyA = physics.CreateCircle(3.0f); var bodyB = physics.CreateCircle(3.0f); var joint = physics.CreateLineJoint(bodyA, bodyB, Vector2D.Zero); joint.MaxMotorTorque = 1.0f; Assert.AreEqual(joint.MaxMotorTorque, 1.0f); }
See Also