RotateYaw( <yaw angle>, <time>, <acceleration time>, <deceleration time> )

Module: Motion


Rotate this entity to the given yaw

Call this on:

script_model, script_origin or script_brushmodel

Required Args:

  • 1 : <yaw angle> The new yaw angle in degrees
  • 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