PhysicsAcceleration
A class in Root.Township, the global namespace.
Component that adds a constant acceleration to a rigidbody every physics step, with a Wobble method for a random spin.
- Listed in Global namespace: P
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
PhysicsAcceleration() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
Methods
| Member | What it is |
|---|---|
void Wobble() | Gives the rigidbody a random angular velocity change between the min and max impulse. |