RotateVelocity( <rotate velocity>, <time>, <acceleration time>, <deceleration time> )


Module: Motion

Summary:

Rotate this entity at a particular velocity for a given time



Call this on:

script_model, script_origin or script_brushmodel



Example:

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



Required Args:

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


Optional Args

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