UnityEngine.Rigidbody
class UnityEngine.Rigidbody
Fields and Properties:
- UnityEngine.Vector3 velocity
- UnityEngine.Vector3 angularVelocity
- float drag
- float angularDrag
- float mass
- bool useGravity
- float maxDepenetrationVelocity
- bool isKinematic
- bool freezeRotation
- UnityEngine.RigidbodyConstraints constraints
- UnityEngine.CollisionDetectionMode collisionDetectionMode
- UnityEngine.Vector3 centerOfMass
- UnityEngine.Vector3 worldCenterOfMass
- UnityEngine.Quaternion inertiaTensorRotation
- UnityEngine.Vector3 inertiaTensor
- bool detectCollisions
- UnityEngine.Vector3 position
- UnityEngine.Quaternion rotation
- UnityEngine.RigidbodyInterpolation interpolation
- int solverIterations
- float sleepThreshold
- float maxAngularVelocity
- int solverVelocityIterations
- float sleepVelocity
- float sleepAngularVelocity
- bool useConeFriction
- int solverIterationCount
- int solverVelocityIterationCount
Constructors:
- UnityEngine.Rigidbody.New()
Methods:
- void SetDensity(float)
- void MovePosition(UnityEngine.Vector3)
- void MoveRotation(UnityEngine.Quaternion)
- void Sleep()
- bool IsSleeping()
- void WakeUp()
- void ResetCenterOfMass()
- void ResetInertiaTensor()
- UnityEngine.Vector3 GetRelativePointVelocity(UnityEngine.Vector3)
- UnityEngine.Vector3 GetPointVelocity(UnityEngine.Vector3)
- void SetMaxAngularVelocity(float)
- void AddForce(UnityEngine.Vector3, UnityEngine.ForceMode)
- void AddForce(UnityEngine.Vector3)
- void AddForce(float, float, float, UnityEngine.ForceMode)
- void AddForce(float, float, float)
- void AddRelativeForce(UnityEngine.Vector3, UnityEngine.ForceMode)
- void AddRelativeForce(UnityEngine.Vector3)
- void AddRelativeForce(float, float, float, UnityEngine.ForceMode)
- void AddRelativeForce(float, float, float)
- void AddTorque(UnityEngine.Vector3, UnityEngine.ForceMode)
- void AddTorque(UnityEngine.Vector3)
- void AddTorque(float, float, float, UnityEngine.ForceMode)
- void AddTorque(float, float, float)
- void AddRelativeTorque(UnityEngine.Vector3, UnityEngine.ForceMode)
- void AddRelativeTorque(UnityEngine.Vector3)
- void AddRelativeTorque(float, float, float, UnityEngine.ForceMode)
- void AddRelativeTorque(float, float, float)
- void AddForceAtPosition(UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.ForceMode)
- void AddForceAtPosition(UnityEngine.Vector3, UnityEngine.Vector3)
- void AddExplosionForce(float, UnityEngine.Vector3, float, float, UnityEngine.ForceMode)
- void AddExplosionForce(float, UnityEngine.Vector3, float, float)
- void AddExplosionForce(float, UnityEngine.Vector3, float)
- UnityEngine.Vector3 ClosestPointOnBounds(UnityEngine.Vector3)
- UnityEngine.RaycastHit[] SweepTestAll(UnityEngine.Vector3, float, UnityEngine.QueryTriggerInteraction)
- UnityEngine.RaycastHit[] SweepTestAll(UnityEngine.Vector3, float)
- UnityEngine.RaycastHit[] SweepTestAll(UnityEngine.Vector3)