Sets the angular velocity (angular velocity) (see velocityAng) of a vehicle.
For how long this velocity is experienced depends on several factors. For example, the initially applied velocity, the terrain, and the angular damping properties of the vehicle. Some vehicles (for example, planes) have a very high damping defined, and the velocity there may seem instantaneous, whereas for other types of vehicles (for example, boats) that have a very low damping by the vehicle itself and its environment (water), the same applied velocity may go on for several seconds.
|Syntax:||vehicle setVelocityAng velocity|
A value of [0, 0, 0] instantaneously stops any ongoing movement for the specific vector.
|Examples:||Rotates an LCM boat for about 6 seconds (or about 500 degrees):|
LCMBoat setVelocityAng [0,0,5];
|See also:||velocityAng, setVelocity|