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 ChangeLineJointMotorEnabled() { var bodyB = physics.CreateCircle(3.0f); var joint = physics.CreateLineJoint(body, bodyB, Vector2D.Zero); Assert.AreEqual(joint.MotorEnabled, false); joint.MotorEnabled = true; Assert.AreEqual(joint.MotorEnabled, true); }
See Also