User Guide
282 APPENDIX E
keyUpDownTurnsEnabled
A fl ag that determines whether to use the built in navigation scheme for ctrl+up-arrow or ctrl down-arrow.
// We wish to prevent such motion
theActor.keyUpDownTurnsEnabled = false;
mouseLeftRightMovesEnabled
A fl ag that determines whether to use the built in navigation scheme for shift+left-arrow or shift right-arrow.
// We wish to prevent such motion
theActor.mouseLeftRightMovesEnabled = false;
mouseUpDownMovesEnabled
A fl ag that determines whether to use the built in navigation scheme for shift+mouse-up or shift mouse-down.
// We wish to prevent such motion
theActor.mouseUpDownMovesEnabled = false;
mouseForwardBackwardMovesEnabled
A fl ag that determines whether to use the built in navigation scheme for mouse-up or mouse-down.
// We wish to prevent such motion
theActor.mouseForwardBackwardMovesEnabled = false;
mouseLeftRightTurnsEnabled
A fl ag that determines whether to use the built in navigation scheme for mouse-left or mouse-right or ctrl
mouse-left or ctrl mouse-right.
// We wish to prevent such motion
theActor.mouseLeftRightTurnsEnabled = false;
mouseUpDownTurnsEnabled
A fl ag that determines whether to use the built in navigation scheme for ctrl+ mouse-up or ctrl+mouse-down.
// We wish to prevent such motion
theActor.mouseUpDownTurnsEnabled = false;
keyMoveInsteadOfTurn
A fl ag that determines whether to move instead of turn the theActor when the left-arrow or right-arrow is
pressed. Default is false.
// Make the actor strafe
theActor.keyMoveInsteadOfTurn = true;
Methods
dist(position)
Returns the distance between the Actor and the provided position Vector.
if (theActor.dist(frog.position) < frog.fearRadius)
{










