Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseScript interface for the Limit Velocity Over Lifetime module.
dampen | Controls how much the velocity that exceeds the velocity limit should be dampened. |
enabled | Enable/disable the Limit Force Over Lifetime module. |
limit | Maximum velocity curve, when not using one curve per axis. |
limitX | Maximum velocity curve for the X axis. |
limitY | Maximum velocity curve for the Y axis. |
limitZ | Maximum velocity curve for the Z axis. |
separateAxes | Set the velocity limit on each axis separately. |
space | Specifies if the velocity limits are in local space (rotated with the transform) or world space. |