Lunar/Prefabs/spinny.gd

12 lines
268 B
GDScript3
Raw Normal View History

2025-06-28 13:09:15 +10:00
extends RigidBody2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
angular_velocity = randf_range(1,3)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass