Enum ForceMode
Different ways to apply changes to a rigid body's velocity.
Namespace: Unity.Physics.Extensions
Syntax
public enum ForceMode
Fields
| Name | Description | Value |
|---|---|---|
| Force | Apply a continuous force to the rigid body, using its mass. |
0 |
| Impulse | Apply a continuous acceleration to the rigid body, ignoring its mass. |
1 |
| VelocityChange | Apply an instant force impulse to the rigid body, using its mass. |
2 |
| Acceleration | Apply an instant velocity change to the rigid body, ignoring its mass. |
5 |