-
Notifications
You must be signed in to change notification settings - Fork 1
Rigidbody bindings
SDraw edited this page May 31, 2023
·
3 revisions
Refer to Unity's Rigidbody documentation for properties and methods description.
-
angularDrag
: get/set, float -
angularVelocity
: get/set, Vector3 -
centerOfMass
: get/set, Vector3 -
collisionDetectionMode
: get/set, string as enum -
constraints
: get/set, string as enum -
detectCollisions
: get/set, boolean -
drag
: get/set, float -
freezeRotation
: get/set, boolean -
inertiaTensor
: get/set, Vector3 -
inertiaTensorRotation
: get/set, Quaternion -
interpolation
: get/set, string as enum -
isKinematic
: get/set, boolean -
mass
: get/set, float -
maxAngularVelocity
: get/set, float -
maxDepenetrationVelocity
: get/set, float -
position
: get/set, Vector3 -
rotation
: get/set, Quaternion -
sleepThreshold
: get/set, float -
solverIterations
: get/set, integer -
solverVelocityIterations
: get/set, integer -
useGravity
: get/set, boolean -
velocity
: get/set, Vector3 -
worldCenterOfMass
: get, Vector3
bool AddExplosionForce(float force, Vector3 position, float radius, float upwards = 0, string mode = "Force")
bool AddForce(Vector3 force, string mode = "Force")
bool AddForceAtPosition(Vector3 force, Vector3 position, string mode = "Force")
bool AddRelativeForce(Vector3 force, string mode = "Force")
bool AddRelativeTorque(Vector3 torque, string mode = "Force")
bool AddTorque(Vector3 torque, string mode = "Force")
Vector3 ClosestPointOnBounds(Vector3 position)
Vector3 GetPointVelocity(Vector3 point)
Vector3 GetRelativePointVelocity(Vector3 point)
bool IsSleeping()
bool MovePosition(Vector3 position)
bool MoveRotation(Quaternion rotation)
bool ResetCenterOfMass()
bool ResetInertiaTensor()
bool SetDensity(float density)
bool Sleep()
bool WakeUp()
- Inherits properties and methods from Component.