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 |
---|---|---|
Acceleration | Apply an instant velocity change to the rigid body, ignoring its mass. |
|
Force | Apply a continuous force to the rigid body, using its mass. |
|
Impulse | Apply a continuous acceleration to the rigid body, ignoring its mass. |
|
VelocityChange | Apply an instant force impulse to the rigid body, using its mass. |