7 lines
184 B
GDScript
7 lines
184 B
GDScript
extends MeshInstance3D
|
|
|
|
@export var rotationSpeed: float = 10
|
|
|
|
func _process(delta: float) -> void:
|
|
rotation.x -= clampf(rotationSpeed, -rotationSpeed * delta, rotationSpeed * delta)
|