Joint Class |
public abstract class Joint
The Joint type exposes the following members.
| Name | Description | |
|---|---|---|
| Joint | Initializes a new instance of the Joint class | |
| Joint(Body) | Constructor for fixed joint | |
| Joint(Body, Body) | Initializes a new instance of the Joint class |
| Name | Description | |
|---|---|---|
| BodyA | Get the first body attached to this joint. | |
| BodyB | Get the second body attached to this joint. | |
| Breakpoint | 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. | |
| CollideConnected | Set this flag to true if the attached bodies should collide. | |
| JointType | Gets or sets the type of the joint. | |
| World | Get the parent World of this joint. This is null if the joint is not attached. | |
| WorldAnchorA | Get the anchor point on bodyA in world coordinates. On some joints, this value indicate the anchor point within the world. | |
| WorldAnchorB | Get the anchor point on bodyB in world coordinates. On some joints, this value indicate the anchor point within the world. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetReactionForce | Get the reaction force on body at the joint anchor in Newtons. | |
| GetReactionTorque | Get the reaction torque on the body at the joint anchor in N*m. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsFixedType | Return true if the joint is a fixed type. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WakeBodies |
| Name | Description | |
|---|---|---|
| Enabled | Indicate if this join is enabled or not. Disabling a joint means it is still in the simulation, but inactive. | |
| Tag | Set the user data pointer. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |