A downloadable behavior

Download NowName your own price

First Person Perspective camera 3D

  • Attach this behavior to your player object to enable first-person camera control
  • Requires a 3D Camera object in the layout (default name: 3DCamera, configurable in properties)
  • Required: Project Properties → Use worker: No
  • Call Lock pointer action on start of layout — camera activates on first click or keypress
  • Mouse controls rotation: horizontal = Yaw, vertical = Pitch (clamped by Pitch min/max properties)
  • Eye height — camera height above the object's Z position (e.g. 160 px ≈ eye level)
  • Eye offset X/Y — shifts the camera relative to the character center (use to push camera outside the head mesh)
  • Actions: Set enabled, Lock/Unlock pointer, Set sensitivity, Set eye height
  • Expressions: Yaw, Pitch — current look angles in degrees, useful for syncing animations or UI
  • Invert Y is on by default — disable in properties if mouse vertical feel is reversed

  • Lean -Hold Q or E to smoothly lean the camera left or right, combining a configurable roll angle and side offset with a lerped transition speed, fully controllable at runtime via Set Lean action and Lean expression.


    Download

    Download NowName your own price

    Click download now to get access to the following files:

    FPP.c3p 178 kB
    FPP Camera 3D.c3addon 11 kB
    if you pay $5 USD or more

    Leave a comment

    Log in with itch.io to leave a comment.