Basic capsule colldier with third-person over-the-shoulder camera #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "basic-capsule-movement"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://streamable.com/sp6von
@ -0,0 +25,4 @@var controller_sensitivity := Vector2(2.0, 2.0)## Sensitivity of the mouse movementvar mouse_sensitivity := 0.5Big TODO here to make all of this configurable 😄
@ -0,0 +32,4 @@@onready var camera_x_pivot_point: Node3D = %CameraXPivotPoint@onready var camera_spring_arm: SpringArm3D = %CameraSpringArm3D@onready var phantom_camera: PhantomCamera3D = %PhantomCamera3DWe could use regular
Camera3Dhere but... we should use phantom camera, trust me 😭@ -0,0 +36,4 @@## Given an input direction, returns a version rotated towards the camerastatic func input_direction_normalized_to_camera(input_dir: Vector2, camera: Camera3D) -> Vector3:Normally I have these in a static class with helper functions in it, but we can move them there later
@ -0,0 +1,44 @@[remap]These textures are from some Kenney pack
6ce2b5882bto9f42b5aac79f42b5aac7to14f2476889LGTM