Hi,
from unity and godot I know the update() function which is called 30/60 times per second and the fixedupdate() function called once a second.
In both engines I use fixedupdate() to move kinematic bodies so that the movement matches with the overall physics simulation.
update() on the other hand is used for any other operation (or even movement of a gameobject without a rigidbody)
I’m wondering why there is only one update() function in defold.
If I move a game object without a collision object component: is it then moved every frame?
On the other hand: If I move a game object with a collision object component is it moved every second but the remaining code of the update loop (including messages and input) every frame?
Which magic happens under the hood? Or isn’t there any magic?
Thanks for your help
Boris