GearJoint Class |
Namespace: Internal.tainicom.Aether.Physics2D.Dynamics.Joints
public class GearJoint : Joint
The GearJoint type exposes the following members.
Name | Description | |
---|---|---|
GearJoint |
Requires two existing revolute or prismatic joints (any combination will work).
The provided joints must attach a dynamic body to a static body.
|
Name | Description | |
---|---|---|
BodyA |
Get the first body attached to this joint.
(Inherited from Joint.) | |
BodyB |
Get the second body attached to this joint.
(Inherited from 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.
(Inherited from Joint.) | |
CollideConnected |
Set this flag to true if the attached bodies should collide.
(Inherited from Joint.) | |
JointA |
The first revolute/prismatic joint attached to the gear joint.
| |
JointB |
The second revolute/prismatic joint attached to the gear joint.
| |
JointType |
Gets or sets the type of the joint.
(Inherited from Joint.) | |
Ratio |
The gear ratio.
| |
World |
Get the parent World of this joint. This is null if the joint is not attached.
(Inherited from Joint.) | |
WorldAnchorA | (Overrides JointWorldAnchorA.) | |
WorldAnchorB | (Overrides JointWorldAnchorB.) |
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 | (Overrides JointGetReactionForce(Single).) | |
GetReactionTorque | (Overrides JointGetReactionTorque(Single).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFixedType |
Return true if the joint is a fixed type.
(Inherited from Joint.) | |
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 | (Inherited from Joint.) |
Name | Description | |
---|---|---|
Enabled |
Indicate if this join is enabled or not. Disabling a joint
means it is still in the simulation, but inactive.
(Inherited from Joint.) | |
Tag |
Set the user data pointer.
(Inherited from Joint.) |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
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.) |