Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
|
Properties | |
SRigidbody | ConnectedBody [get, set] |
Set joint to a rigidbody. If not set, the joint connects to the world. | |
SVector | Axis [get, set] |
The direction of the axis around which the body swings. The direction is defined in local space. | |
SVector | Anchor [get, set] |
The position of the axis around which the body swings. The position is defined in local space. | |
SVector | ConnectedAnchor [get, set] |
Manual configuration of the connected anchor position. | |
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. | |
float | BreakForce [get, set] |
Apply the force to break the joint. | |
float | BreakTorque [get, set] |
Apply the torque to break the joint. | |
bool | EnableCollision [get, set] |
When checked, this enables collisions between bodies connected with a joint. | |
bool | EnablePreprocessing [get, set] |
Disabling preprocessing helps to stabilize impossible-to-fulfil configurations. | |
SVector | CurrentForce [get] |
The force applied by the solver to satisfy all constraints. | |
SVector | CurrentTorque [get] |
The torque applied by the solver to satisfy all constraints. | |
float | MassScale [get, set] |
The scale to apply to the inverse mass and inertia tensor of the body. | |
float | ConnectedMassScale [get, set] |
The scale to apply to the inverse mass and inertia tensor of the connected body. | |
SJointMotor | Motor [get, set] |
The motor makes the object spin around. | |
SJointLimits | Limits [get, set] |
The motor makes the object spin around. | |
SJointSpring | Spring [get, set] |
The motor makes the object spin around. | |
bool | UseMotor [get, set] |
The motor makes the object spin around. | |
bool | UseLimits [get, set] |
If enabled, the angle of the hinge will be restricted within the Min & Max values. | |
bool | UseSpring [get, set] |
Spring makes the Rigidbody reach for a specific angle compared to its connected body. | |
float | Velocity [get] |
The angular velocity of the joint in degrees per second. | |
float | Angle [get] |
The current angle in degrees of the joint relative to its rest position. | |
![]() | |
SGameObject | GameObject [get] |
Return the GameObject which component added. | |
![]() | |
override bool | Alive [get] |
Return if the component is alive. | |
![]() | |
T | _wrap [get] |
![]() | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Additional Inherited Members | |
![]() | |
override void | Initialise (SScript runtime, object wrapper) |
![]() | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
void | Initialise (SScript runtime, object wrapper) |
![]() | |
void | Initialise (SScript runtime) |
|
getset |
The position of the axis around which the body swings. The position is defined in local space.
|
get |
The current angle in degrees of the joint relative to its rest position.
|
getset |
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.
|
getset |
The direction of the axis around which the body swings. The direction is defined in local space.
|
getset |
Apply the force to break the joint.
|
getset |
Apply the torque to break the joint.
|
getset |
Manual configuration of the connected anchor position.
|
getset |
Set joint to a rigidbody. If not set, the joint connects to the world.
|
getset |
The scale to apply to the inverse mass and inertia tensor of the connected body.
|
get |
The force applied by the solver to satisfy all constraints.
|
get |
The torque applied by the solver to satisfy all constraints.
|
getset |
When checked, this enables collisions between bodies connected with a joint.
|
getset |
Disabling preprocessing helps to stabilize impossible-to-fulfil configurations.
|
getset |
The motor makes the object spin around.
|
getset |
The scale to apply to the inverse mass and inertia tensor of the body.
|
getset |
The motor makes the object spin around.
|
getset |
The motor makes the object spin around.
|
getset |
If enabled, the angle of the hinge will be restricted within the Min & Max values.
|
getset |
The motor makes the object spin around.
|
getset |
Spring makes the Rigidbody reach for a specific angle compared to its connected body.
|
get |
The angular velocity of the joint in degrees per second.