Method GetReaction
GetReaction(float, Vector3, out Vector3, out Quaternion)
Get the rection effect for a given impulse at a given time.
Declaration
public bool GetReaction(float deltaTime, Vector3 impulsePos, out Vector3 pos, out Quaternion rot)
Parameters
Type | Name | Description |
---|---|---|
float | deltaTime | Current time interval |
Vector3 | impulsePos | The input impulse signal at this time |
Vector3 | pos | output reaction position delta |
Quaternion | rot | output reaction rotation delta |
Returns
Type | Description |
---|---|
bool | True if there is a reaction effect, false otherwise |