Click or drag to resize

RevoluteJoint Properties

The RevoluteJoint type exposes the following members.

Properties
  NameDescription
Public propertyBodyA
Get the first body attached to this joint.
(Inherited from Joint.)
Public propertyBodyB
Get the second body attached to this joint.
(Inherited from Joint.)
Public propertyBreakpoint
The Breakpoint simply indicates the maximum Value the JointError can be before it breaks. The default value is float.MaxValue, which means it never breaks.
(Inherited from Joint.)
Public propertyCollideConnected
Set this flag to true if the attached bodies should collide.
(Inherited from Joint.)
Public propertyJointAngle
Get the current joint angle in radians.
Public propertyJointSpeed
Get the current joint angle speed in radians per second.
Public propertyJointType
Gets or sets the type of the joint.
(Inherited from Joint.)
Public propertyLimitEnabled
Is the joint limit enabled?
Public propertyLocalAnchorA
The local anchor point on BodyA
Public propertyLocalAnchorB
The local anchor point on BodyB
Public propertyLowerLimit
Get the lower joint limit in radians.
Public propertyMaxMotorTorque
Get or set the maximum motor torque, usually in N-m.
Public propertyMotorEnabled
Is the joint motor enabled?
Public propertyMotorImpulse
Get or set the current motor impulse, usually in N-m.
Public propertyMotorSpeed
Get or set the motor speed in radians per second.
Public propertyReferenceAngle
The referance angle computed as BodyB angle minus BodyA angle.
Public propertyUpperLimit
Get the upper joint limit in radians.
Public propertyWorld
Get the parent World of this joint. This is null if the joint is not attached.
(Inherited from Joint.)
Public propertyWorldAnchorA (Overrides JointWorldAnchorA.)
Public propertyWorldAnchorB (Overrides JointWorldAnchorB.)
Top
See Also