MoveObjectLocalZ
Description
Moves the specified object along its local Z axis, i.e. if the object were a character this command would make them move forwards no matter which direction they were facing.
Definition
MoveObjectLocalZ( objID, amount )
void agk::MoveObjectLocalZ( UINT objID, float amount )
Parameters
- objID - The ID of the object to modify.
- amount - The distance to move in the local Z direction, can be negative.