SHingeJoint
Index
Properties Index
SRigidbody ConnectedBody get set
SVector Axis get set
SVector Anchor get set
SVector ConnectedAnchor get set
bool AutoConfigureConnectedAnchor get set
float BreakForce get set
float BreakTorque get set
bool EnableCollision get set
bool EnablePreprocessing get set
SVector CurrentForce get
SVector CurrentTorque get
float MassScale get set
float ConnectedMassScale get set
SJointMotor Motor get set
SJointLimits Limits get set
SJointSpring Spring get set
bool UseMotor get set
bool UseLimits get set
bool UseSpring get set
float Velocity get
float Angle get
SGameObject GameObject get
Properties
ConnectedBody
SRigidbody ConnectedBody get set
Set joint to a rigidbody. If not set, the joint connects to the world.
Axis
SVector Axis get set
The direction of the axis around which the body swings. The direction is defined in local space.
Anchor
SVector Anchor get set
The position of the axis around which the body swings. The position is defined in local space.
ConnectedAnchor
SVector ConnectedAnchor get set
Manual configuration of the connected anchor position.
AutoConfigureConnectedAnchor
bool AutoConfigureConnectedAnchor get set
If this is enabled, then the Connected Anchor position will be calculated automatically to match the global position of the anchor property. This is the default behavior. If this is disabled, you can configure the position of the connected anchor manually.
BreakForce
float BreakForce get set
Apply the force to break the joint.
BreakTorque
float BreakTorque get set
Apply the torque to break the joint.
EnableCollision
bool EnableCollision get set
When checked, this enables collisions between bodies connected with a joint.
EnablePreprocessing
bool EnablePreprocessing get set
Disabling preprocessing helps to stabilize impossible-to-fulfil configurations.
CurrentForce
SVector CurrentForce get
The force applied by the solver to satisfy all constraints.
CurrentTorque
SVector CurrentTorque get
The torque applied by the solver to satisfy all constraints.
MassScale
float MassScale get set
The scale to apply to the inverse mass and inertia tensor of the body
ConnectedMassScale
float ConnectedMassScale get set
The scale to apply to the inverse mass and inertia tensor of the connected body
Motor
SJointMotor Motor get set
The motor makes the object spin around.
Limits
SJointLimits Limits get set
The motor makes the object spin around.
Spring
SJointSpring Spring get set
The motor makes the object spin around.
UseMotor
bool UseMotor get set
The motor makes the object spin around.
UseLimits
bool UseLimits get set
If enabled, the angle of the hinge will be restricted within the Min & Max values.
UseSpring
bool UseSpring get set
Spring makes the Rigidbody reach for a specific angle compared to its connected body.
Velocity
float Velocity get
The angular velocity of the joint in degrees per second.
Angle
float Angle get
The current angle in degrees of the joint relative to its rest position.
GameObject
SGameObject GameObject get
Property Description
Last updated
Was this helpful?

