First Person Controller is a Construct 3 behavior for first-person movement using Construct's native 3D Camera.
Your project must include: **A native 3D Camera object**, **The Mouse object**, **The Keyboard object**, a Player object using the **First Person Controller behavior**
By default, the behavior uses a 3D Camera object named "3DCamera". Set the "3D Camera object name" property if your camera has another name.
DEFAULT CONTROLS:
The Default controls is : WASD, ZQSD, arrow-key, and Space controls.
PROPERTIES:
- **Speed** (Movement speed in pixels per second.)
- **Camera height** (Camera height above the Player's Z elevation.)
- **Mouse sensitivity divisor** (Lower values produce faster mouse movement.)
- **Minimum / Maximum vertical angle** (Limits how far the player can look up and down.)
- **Lock pointer on left click** (Enables pointer lock after a left click.)
- **Unadjusted mouse movement** (Requests raw mouse input when pointer lock is enabled.)
- **Collide with solids** (Blocks movement into objects using Solid.)
- **Enabled** (Enables or disables the controller.)
- **3D Camera object name** (Name of the native 3D Camera object. Leave empty to use "3DCamera".)
- **Default controls** (Enables built-in WASD, ZQSD, arrow-key, and Space controls.)
- **Gravity** (Enables jumping and gravity.)
- **Jump impulse** (Initial upward force applied when jumping.)
- **Gravity strength** (Downward acceleration while airborne.)
CONDITIONS / ACTIONS / EXPRESSIONS:
Go to the ACEs section to learn about the different conditions, actions, and expressions of the behavior.
CUSTOM CONTROLS:
Disable Default controls to define your own key bindings in the event sheet.
ADDITIONAL INFORMATION FOR THE "EXPRESSIONS":
Boolean settings return 1 when enabled and 0 when disabled. Examples include: Enabled, GravityEnabled, DefaultControls, and CollideWithSolids.