Enum ForceMode
Different ways to apply changes to a rigid body's velocity.
Namespace: Unity.Physics.Extensions
Assembly: Unity.Physics.dll
Syntax
public enum ForceMode
Fields
Name | Description |
---|---|
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. |