RotateObjectLocalZ
Description
Rolls the specified object around its local Z axis, i.e. if the object were an airplane this command would make it do a barrel roll no matter which direction it was facing.
Definition
RotateObjectLocalZ( objID, amount )
void agk::RotateObjectLocalZ( uint32_t objID, float amount )
Parameters
- objID - The ID of the object to modify.
- amount - The angle to rotate on the local Z axis in degrees, positive rolls anti-clockwise, negative rolls clockwise.