GameControlAvatarAxis
Semantic axes (indices into llGetGameControlModeAxes) for the AVATAR, MOUSELOOK and CAPTIVE game control modes. CURSOR mode has its own axes.
lsl.dev groups these constants itself; the LSL definitions do not have this group yet.
integer GAME_CONTROL_AXIS_STRAFE = 0; // Left/right movementinteger GAME_CONTROL_AXIS_ADVANCE = 1; // Forward/backward movementinteger GAME_CONTROL_AXIS_TURN = 2; // Turning left/rightinteger GAME_CONTROL_AXIS_LOOK = 3; // Looking up/downinteger GAME_CONTROL_AXIS_RISE = 4; // Up/down movement
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
GAME_CONTROL_AXIS_ADVANCE | integer | 1 | Forward/backward movement. Modal axis index 1 for AVATAR, MOUSELOOK, and CAPTIVE modes. |
GAME_CONTROL_AXIS_LOOK | integer | 3 | Looking up/down. Modal axis index 3 for AVATAR, MOUSELOOK, CAPTIVE, and CURSOR modes. |
GAME_CONTROL_AXIS_RISE | integer | 4 | Up/down movement. Modal axis index 4 for AVATAR, MOUSELOOK, and CAPTIVE modes. |
GAME_CONTROL_AXIS_STRAFE | integer | 0 | Left/right movement. Modal axis index 0 for AVATAR, MOUSELOOK, and CAPTIVE modes. |
GAME_CONTROL_AXIS_TURN | integer | 2 | Turning left/right. Modal axis index 2 for AVATAR, MOUSELOOK, CAPTIVE, and CURSOR modes. |