Property |
Description |
bodyA |
The second body the joint constrains.
|
bodyB |
A local anchor point on the first body for the constraint.
|
callbackTarget |
Get/Set the UnityEngine.MonoBehaviour that event callbacks for this joint will be sent to.
This includes the following events:
- A JointThresholdEvent with call IJointThresholdCallback.
|
collideConnected |
Whether the shapes on the pair of bodies can come into contact.
|
currentAngularSeparationError |
Get the current angular separation error for this joint, in degrees.
This does not consider admissible movement.
|
currentConstraintForce |
Get the current constraint force used by the joint, usually in newtons.
|
currentConstraintTorque |
Get the current constraint torque used by the joint, usually in newtons.
|
currentLinearSeparationError |
Get the current linear separation error for this joint, usually in meters.
This does not consider admissible movement.
|
currentMotorForce |
Get the current motor force, usually in newtons.
|
currentSpeed |
Get the current joint translation speed, usually in meters per second.
|
currentTranslation |
Get the current joint translation, usually in meters.
|
drawScale |
Controls the scaling of the joint drawing.
|
enableLimit |
Enable/Disable the joint translation limit.
|
enableMotor |
Enable/Disable the joint motor.
|
enableSpring |
Enable/Disable a spring along the slider joint axis.
|
forceThreshold |
The force threshold beyond which a joint event will be produced.
|
isOwned |
Get if the joint is owned.
See PhysicsJoint.SetOwner.
|
isValid |
Checks if the joint is valid.
|
jointType |
Gets the joint type.
See JointType.
|
localAnchorA |
The local anchor frame constraint relative to bodyA's origin.
|
localAnchorB |
The local anchor frame constraint relative to bodyB's origin.
|
lowerTranslationLimit |
Get the lower translation limit.
|
maxMotorForce |
The maximum force the motor can apply, usually in newtons.
|
motorSpeed |
The desired motor speed, usually in meters per second.
|
springDamping |
The spring damping, non-dimensional.
|
springFrequency |
The spring stiffness, in cycles per second.
|
springTargetTranslation |
The spring target translation, usually in meters.
The spring-damper will drive to this translation.
|
torqueThreshold |
The torque threshold beyond which a joint event will be produced.
|
tuningDamping |
Controls the joint stiffness damping, non-dimensional. Use 1 for critical damping.
|
tuningFrequency |
Controls the joint stiffness frequency, in cycles per second.
|
upperTranslationLimit |
Get the upper translation limit.
|
userData |
Get/Set PhysicsUserData that can be used for any purpose.
The physics system doesn't use this data, it is entirely for custom use.
|
world |
Get the world the body is attached to.
|