feature/moving-platforms #6
@ -15,6 +15,11 @@ camera = NodePath("Neck/Camera3D")
|
||||
|
||||
[node name="PlayerTag" type="Label3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.26654, 0)
|
||||
visibility_range_begin = 0.7
|
||||
visibility_range_begin_margin = 14.0
|
||||
visibility_range_end = 15.0
|
||||
visibility_range_end_margin = 14.0
|
||||
visibility_range_fade_mode = 1
|
||||
billboard = 1
|
||||
text = "username"
|
||||
|
||||
|
@ -65,9 +65,10 @@ func _physics_process(delta: float) -> void:
|
||||
if current_ship != null:
|
||||
if !is_piloting:
|
||||
velocity = walk(delta) + _gravity(delta) + _jump(delta)
|
||||
global_transform.basis = current_ship.global_transform.basis #TILTS PLAYER FIXXXX
|
||||
global_transform.basis = current_ship.global_transform.basis
|
||||
else:
|
||||
global_rotation.y = current_ship.global_rotation.y
|
||||
|
||||
else:
|
||||
velocity = walk(delta) + _gravity(delta) + _jump(delta)
|
||||
global_rotation.x = 0.0
|
||||
|
Loading…
Reference in New Issue
Block a user