ThirdPersonController Op

ThirdPersonController

Third Person Controller



Full Name
  • Ops.Patch.PLkAbaq.ThirdPersonController
VisibilityLicense
  • MIT
Author


Third Person Controller

Here's a simple Third-Person Controller with a variety of options I could think of. Have fun!

Controls:

WASD - Move
Shift - Sprint
Space - Up
Ctrl/C - Down

I tested several movement loops and this approach offers good performance, supports multiple inputs, and eliminates input lag.

There are plenty of features that can be added, so feel free to customize it to your needs!

Known Issues:

Children rotate oddly when switching to the opposite direction.
Unwanted rotation of children while flying up or down.

Future Improvements:

Split the output of child orientations to support multiple inputs (so a character can turn their head with the camera while the body faces the movement direction).
More movement options.
Integrated look-at node.

Look-at Node by Marfhats: https://cables.gl/p/BNXces

Open In Editor

INPUT PORTS


Trigger (Trigger)
Flying (Number: boolean)  
Flight Height (Number)  
Reset Position (Trigger)  
Move Speed (Number)  
Sprint Speed (Number)  
Always Sprint (Number: boolean)  
Acceleration Speed (Number)  
Children Orientation (String) No  Movement  Camera 
Orientation Y-Axis Lock (Number: boolean)  
Children Turn Speed (Number)  
Lock Pointer (Number: boolean)  
Drag Sensitivity (Number)  
Mouse Sensitivity (Number)  
Zoom Sensitivity (Number)  
Min Zoom (Number)  
Max Zoom (Number)  
Camera Smooth (Number)  
Camera FOV (Number)  
Reset Camera (Trigger)  

OUTPUT PORTS


vxc49mo2w (Trigger)
qtpwcyi5t (Trigger)
1ylzx17q7 (Array)
rpix1i826 (Array)
ppzc9h68h (Array)
3qtd135bo (Number)

Changelog

Patches using ThirdPersonController

  • Examples
  • Public
  • My Patches