|
Endstar LUA API Documentation
|
Component used for an object to take physics forces. More...
Public Member Functions | |
| void | AddImpulse (Context instigator, UnityEngine.Vector3 force, bool applyRandomTorque) |
| Apply a physics force. | |
| void | AddImpulse (Context instigator, UnityEngine.Vector3 force) |
| Apply a physics force. | |
Component used for an object to take physics forces.
| void AddImpulse | ( | Context | instigator, |
| UnityEngine.Vector3 | force ) |
Apply a physics force.
| instigator | The source context triggering this change |
| force | The amount of force to apply, clamped between -50 and 50 per axis |
| void AddImpulse | ( | Context | instigator, |
| UnityEngine.Vector3 | force, | ||
| bool | applyRandomTorque ) |
Apply a physics force.
| instigator | The source context triggering this change |
| force | The amount of force to apply, clamped between -50 and 50 per axis |
| applyRandomTorque | Adds a small amount of random torque for more free feeling interactions |