Physics or not physics

Hi,
I was just wondering if it is more efficient to track the position in process instead of physics_process since its not using the physics engine??

Hi, you would definitely have less method calls, in process it would only check the position every drawn frame of the game, where in the phyics process, it would check in sync with the physics timesteps.

i dont think there would be a noticable visual difference when clamping position on either. but it ties in with the use of move and slide here.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms