Set Velocity

Instantaneously sets a physical object's directional velocity (units/second) and angular velocity (degrees/second).

Inputs:

  • Object: The object to be modified.
  • Velocity: the velocity to be set with.
  • Spin: the angular velocity to be set with.

Notes

This should be used sparingly. No real object can instantaneously change its velocity, and simulated objects may behave weirdly when forced to do so.

Example

Add a "speed limit" to a physical object:

Related