This will make an object fall to the floor. You need to instantiate the Item in the air then attach this component. The Item will then be dropped to the floor but at an arc from the start position. The object should have a collider. This component will remove itself when done. More...
Inherits MonoBehaviour.
Public Attributes | |
bool | freezeRotation = false |
bool | giveRandomPush = true |
Vector3 | forwardVelocity = Vector3.zero |
Protected Member Functions | |
void | Start () |
void | LateUpdate () |