Call of Duty Script Documentation

# rotatevelocity( <rotate velocity>, <time>, <acceleration time>, <deceleration time> )

## Module

    Motion

## Summary

    Rotate this entity at a particular velocity for a given time

## Call this function on

    script_model, script_origin or script_brushmodel

## Example

    self rotateVelocity((x,y,z), 12);

## Minimum Number of arguments: 2

    1 : <rotate velocity> The rotational velocity to rotate
    2 : <time> The time to rotate in seconds

## Number of optional arguments: 2

    1 : <acceleration time> The time spent accelerating in seconds
    2 : <deceleration time> The time spent decelerating in seconds

Return to Function List