Add Rigidbody
Add Rigidbody to GameObjects (if no Rigidbody is present)Parameters
Parameter | Type | Description |
---|---|---|
mass | Single | |
drag | Single | |
angularDrag | Single | |
useGravity | Boolean | |
isKinematic | Boolean | |
interpolate | RigidbodyInterpolation | |
collisionDetection | CollisionDetectionMode |