Hi!
I am planning to design a game where the movement of object controlled by the user is governed by external forces. Those forces depend on current geometry of the object (user controlled) and also depend on current object velocity.
My question is:
Continuous variable applied forces over a RigidBody2D should be included in _fixed_process()
or should I use _integrate_forces()
?
I guess that simply calculating the new forces on each _fixed_process()
and reapplying them to the object would be enough. Still not understanding properly how to use _integrate_forces()
and when it is needed.