Now About Social Code
summaryrefslogtreecommitdiff
path: root/scripts/spin_ground.gd
blob: 078a75720d9811f3ff82c83f308313e1712d9eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extends Node3D

@export var rotation_dir: float = 1
@export var rotation_axis: Vector3 = Vector3.BACK

# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	#rotate_z(deg_to_rad(180))
	pass


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	rotate(rotation_axis, rotation_dir * delta);
	pass