Fix head rotation
This commit is contained in:
@ -23,7 +23,7 @@ extends CharacterBody3D
|
|||||||
## How far the player turns when the mouse is moved.
|
## How far the player turns when the mouse is moved.
|
||||||
@export var mouse_sensitivity : float = 0.1
|
@export var mouse_sensitivity : float = 0.1
|
||||||
## Invert the Y input for mouse and joystick
|
## Invert the Y input for mouse and joystick
|
||||||
@export var invert_mouse_y : bool = false
|
@export var invert_mouse_y : bool = false # Possibly add an invert mouse X in the future
|
||||||
## Wether the player can use movement inputs. Does not stop outside forces or jumping. See Jumping Enabled.
|
## Wether the player can use movement inputs. Does not stop outside forces or jumping. See Jumping Enabled.
|
||||||
@export var immobile : bool = false
|
@export var immobile : bool = false
|
||||||
## The reticle file to import at runtime. By default are in res://addons/fpc/reticles/. Set to an empty string to remove.
|
## The reticle file to import at runtime. By default are in res://addons/fpc/reticles/. Set to an empty string to remove.
|
||||||
|
@ -375,7 +375,7 @@ libraries = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="Head" type="Node3D" parent="."]
|
[node name="Head" type="Node3D" parent="."]
|
||||||
transform = Transform3D(-0.730162, 0, -0.683274, 0, 1, 0, 0.683274, 0, -0.730162, 0, 1.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||||
|
|
||||||
[node name="Camera" type="Camera3D" parent="Head"]
|
[node name="Camera" type="Camera3D" parent="Head"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user