9 lines
175 B
GDScript3
9 lines
175 B
GDScript3
|
extends KinematicBody
|
||
|
|
||
|
# A simple script to rotate the model.
|
||
|
onready var model = $Armature
|
||
|
const SPEED = 40
|
||
|
|
||
|
func _process(delta):
|
||
|
model.rotation_degrees.y += delta * SPEED
|