Click or drag to resize

PulleyJoint Properties

The PulleyJoint 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 propertyCurrentLengthA The current length between the anchor point on BodyA and WorldAnchorA
Public propertyCurrentLengthB The current length between the anchor point on BodyB and WorldAnchorB
Public propertyJointType Gets or sets the type of the joint.
(Inherited from Joint)
Public propertyLengthA Get the current length of the segment attached to body1.
Public propertyLengthB Get the current length of the segment attached to body2.
Public propertyLocalAnchorA The local anchor point on BodyA
Public propertyLocalAnchorB The local anchor point on BodyB
Public propertyRatio Get the pulley ratio.
Public propertyWorld Get the parent World of this joint. This is null if the joint is not attached.
(Inherited from Joint)
Public propertyWorldAnchorA Get the first world anchor.
(Overrides JointWorldAnchorA)
Public propertyWorldAnchorB Get the second world anchor.
(Overrides JointWorldAnchorB)
Top
See Also