|
abstract HitInfo | Sweep (Vector3 position, Vector3 direction, float distance) |
|
void | SetPositionAndRotation (Vector3 position, Quaternion rotation) |
| Sets the rigidbody position and rotation.
|
|
abstract void | Interpolate (Vector3 position) |
| Interpolates the rigidbody position (equivalent to MovePosition). More...
|
|
abstract void | Interpolate (Quaternion rotation) |
| Interpolates the rigidbody rotation (equivalent to MoveRotation). More...
|
|
void | Interpolate (Vector3 position, Quaternion rotation) |
| Interpolates the rigidbody position and rotation (equivalent to MovePosition and MoveRotation). More...
|
|
void | Move (Vector3 position) |
| Automatically moves the rigidbody based on its type. If the rigidbody is kinematic MovePosition will be used. If the rigidbody is dynamic the velocity will be set. More...
|
|
void | Rotate (Quaternion rotation) |
| Automatically rotates the rigidbody based on its type. If the rigidbody is kinematic MoveRotation will be used. If the rigidbody is dynamic the angular velocity will be set. More...
|
|
void | MoveAndRotate (Vector3 position, Quaternion rotation) |
| Uses both Move and Rotate method.
|
|
abstract Vector3 | GetPointVelocity (Vector3 point) |
| Gets the rigidbody velocity at a specific point in space. More...
|
|
abstract void | AddForceToRigidbody (Vector3 force, ForceMode forceMode=ForceMode.Force) |
|
abstract void | AddExplosionForceToRigidbody (float explosionForce, Vector3 explosionPosition, float explosionRadius, float upwardsModifier=0f) |
|
void | AddForce (Vector3 force, bool ignoreMass=false, bool useImpulse=false) |
| Adds a velocity vector to the rigidbody (simulating AddForce) calculated from a force value.
|
|
void | AddExplosionForce (float explosionForce, Vector3 explosionPosition, float explosionRadius, float upwardsModifier=0f) |
| Adds a velocity vector to the rigidbody (simulating AddExplosionForce) calculated from a force value.
|
|
void | AddTorque (Vector3 torque, bool ignoreMass=false) |
| Adds an angular velocity vector to the rigidbody (simulating AddTorque) calculated from a torque value.
|
|