RotatePitch( <pitch angle>, <time>, <acceleration time>, <deceleration time> )


Module: Motion

Summary:

Rotate this entity to the given pitch



Call this on:

script_model, script_origin or script_brushmodel



Example:

 treeorg RotatePitch( -5, 0.26, 0.15, 0.1 );



Required Args:

  • 1 : <pitch angle> The new pitch 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