aboutsummaryrefslogblamecommitdiffstats
path: root/godot/scenes/Rotator.gd
blob: 5593d980b4df2a5174bd6e275b93994c8bf8678e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                
extends Spatial

var sum_delta = 0

# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.

func _process(delta):
	sum_delta += delta
	global_rotate(Vector3.UP, delta)
	global_rotate(Vector3.FORWARD, -delta)