Hello dear JGO
It is a rather small issue, but i didn’t really find an answer for it.
After all my grinding and checking how to implement collision detection/filtering/resolution etc., i don’t know what is the best way to actually correct the position after a collision was computed:
A.) Apply all forces(gravity/player input) -> calculate collision and correct the velocity --> apply the corrected velocity to the position
or
B.) Apply all forces(gravity/player input) -> apply the velocity --> calculate collision and the impulse resolution —> correct the position on the object
So my question really is whether i should apply the impulse resolution to the velocity or the position directly.
Thank you in advance already