Use physics_process to move falling platform

pull/25/head
Joseph DiGiovanni 2025-02-25 20:13:18 +07:00
parent 767f0f052f
commit ffa7ca6857
1 changed files with 1 additions and 1 deletions

@ -3,7 +3,7 @@ extends Node3D
var falling := false
var fall_velocity := 0.0
func _process(delta):
func _physics_process(delta):
scale = scale.lerp(Vector3(1, 1, 1), delta * 10) # Animate scale
if falling: