The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

during physicsprocess(), I want to move/add an area, and then check its collisions

However, it is not working because after I change it, I must wait for collisions to update before I can query it

How do i do this? Can i somehow force an update? or wait a frame?

I used a workaround to solve it, but it would still be good to know if it is possible to force a physics update. I added this part to inform you that I am not looking for a workaround anymore, but solely whether or not forcing physics updates is possible

in Engine by (96 points)
edited by

As far as I know, there's no way to force a physics update to happen sooner. You could increase the physics FPS temporarily (Engine.iterations_per_second) then set it back to its previous value, but that might cause issues.

What's the workaround?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.