RotateObjectLocalX
Description
Rotates the specified object around its local X axis, i.e. if the object were an airplane this command would make it pitch up and down no matter which direction it was facing.
Definition
RotateObjectLocalX( objID, amount )
void agk::RotateObjectLocalX( UINT objID, float amount )
Parameters
- objID - The ID of the object to modify.
- amount - The angle to rotate on the local X axis in degrees, positive looks down, negative looks up.