Attach this to any Dice to make it spin around a given axis.
More...
List of all members.
Detailed Description
Attach this to any Dice to make it spin around a given axis.
Can be triggered, or can be configured to trigger at start.
Member Function Documentation
void DiceMaster.Spinner.Trigger |
( |
Rigidbody |
newTargetRB = null |
) |
|
Apply the spin torque.
- Parameters:
-
| newTargetRB | The rigidbody that is applied the spin. By default this will use the RigidBody attached to the GameObject |
Member Data Documentation
The documentation for this class was generated from the following file:
- G:/Documents/Unity5Projects/DiceMaster/Assets/DiceMaster/Scripts/Actors/Spinner.cs