ThirdPersonController Op
Third Person Controller
Summary (oneliner)
Full Name
- Ops.Patch.PLkAbaq.ThirdPersonController
- Patch Op - visible in this patch only
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
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
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)