Files
mobile-run-garbo-game/scenes/ground_scroll.gd
2025-07-05 13:32:33 +01:00

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)