Hello everyone,
in your opinion, when coding a 2D (and probably 3D) game, is it better to check the collision between the objects (entities) of the game before or after updating and then moving them?
From what I understand, the Draw() method is called after the Update() method, so is preferable the sequence
Update() // Move the objects
CheckCollisions()
Draw()
or
CheckCollisions()
Update()
Draw()
?