7 lines
144 B
GDScript
7 lines
144 B
GDScript
extends Node3D
|
|
|
|
@export var rotation_speed := 15
|
|
|
|
func _physics_process(delta: float) -> void:
|
|
get_parent().rotation.z += delta*rotation_speed
|