SetDir
Objects
Activity
5.1 OC
int
int
dir
New direction. Predefined values: DIR_Right / DIR_Left
Sets the direction of the object. If the object defines an action named "Turn", this action is executed after the call of this function.
SetDir affects the visual direction of an active object; to modify object motion use SetComDir.
If the object's action has more than two directions (see the ActMap), you can also use values other than just DIR_Right and DIR_Left.
GetDir
DIR_Left
DIR_Right
SetAction
Newton2013-11