gizmo semi functional?
This commit is contained in:
parent
ff0d1a5156
commit
42d238a2f8
7 changed files with 48 additions and 15 deletions
|
|
@ -15,6 +15,9 @@ extends Node3D
|
|||
@export var rotation_speed : float = 20 #degrees per second
|
||||
@export var height_speed : float = 0.5 # m per second
|
||||
|
||||
@export_group("Node References")
|
||||
@export var gizmo_pivot : Node3D
|
||||
|
||||
#Onready Variables
|
||||
|
||||
#Other Variables (please try to separate and organise!)
|
||||
|
|
@ -37,6 +40,7 @@ func _process(delta):
|
|||
else:
|
||||
rotation_degrees.y -= rotation_speed * delta
|
||||
pass
|
||||
gizmo_pivot.rotation_degrees.y = rotation_degrees.y
|
||||
#endregion
|
||||
|
||||
#region Signal methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue