get_overlapping_bodies() isn’t working in the while loop. This script is in an area 3d and I’m trying to move it down to the ground until it touches the ground. The only problem is it never touches the ground and only goes the maximum 200 units. you may be asking, “Why not use a raycast shape”. I cant because i want the raycst to grow as it moves out
Physics are evaluated only once per frame. You can move a physics body 1000 times in different directions, but collisions will be reported only on the next _physics_process() call, not in the current frame.