rotation.gd 156 B

123456789
  1. class_name Rotation
  2. extends Node2D
  3. @export var angular_speed: float = PI ## rad / s
  4. func _process(delta: float) -> void:
  5. rotate(delta * angular_speed)