extends Node3D @export var axis: Vector3 # Default Y-axis @export var speed: float # Degrees per second func _process(delta: float) -> void: # Normalize the axis to prevent scaling issues if axis.length() > 0: var rotation_amount = deg_to_rad(speed * delta) rotate(axis.normalized(), rotation_amount)