Click or drag to resize

PrismaticJoint Properties

The PrismaticJoint type exposes the following members.

Properties
 NameDescription
Public propertyAxis The axis at which the joint moves.
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 propertyJointSpeed Get the current joint translation speed, usually in meters per second.
Public propertyJointTranslation Get the current joint translation, usually in meters.
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 propertyLocalXAxis The axis in local coordinates relative to BodyA
Public propertyLowerLimit Get the lower joint limit, usually in meters.
Public propertyMaxMotorForce Set the maximum motor force, usually in N.
Public propertyMotorEnabled Is the joint motor enabled?
Public propertyMotorImpulse Get the current motor impulse, usually in N.
Public propertyMotorSpeed Set the motor speed, usually in meters per second.
Public propertyReferenceAngle The reference angle.
Public propertyUpperLimit Get the upper joint limit, usually in meters.
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