ForceMode
ForceMode is used to specify the application mode of a physical force.
ForceMode.Force: Applies a continuous force to the object, resulting in continuous acceleration.ForceMode.Impulse: Applies an instantaneous force to the object, resulting in an immediate change in velocity.ForceMode.VelocityChange: Applies a force to the object that changes its velocity by the specified amount.ForceMode.Acceleration: Applies a continuous acceleration to the object, resulting in continuous change in velocity.
| attributes | description |
|---|---|
| Force | Applies a continuous force that can accumulate on an object until another force is applied in the opposite direction. |
| Impulse | Applies an instantaneous force that only acts once and does not accumulate on the object. |
| VelocityChange | Applies an instantaneous change in velocity. This velocity change only affects the object once and does not accumulate. |
| Acceleration | Applies a continuous acceleration that can accumulate on an object until another acceleration in the opposite direction is applied. |
