5 @onready var _mesh: Node3D = %mesh
7 const _moving_scale := 0.7 * Vector3.ONE
10 # Called when the node enters the scene tree for the first time.
11 func _ready() -> void:
12 pass # Replace with function body.
15 # Called every frame. 'delta' is the elapsed time since the previous frame.
16 func _process(_delta: float) -> void:
17 if angular_velocity.length() > 0.2:
18 _mesh.scale = _moving_scale
20 _mesh.scale = Vector3.ONE