pandemonium_demo_projects/viewport/3d_in_2d/robot_3d.gd

8 lines
132 B
GDScript

extends Node
# A simple script to rotate the model.
onready var model = $Model
func _process(delta):
model.rotate_y(delta * 0.7)