Post #2651379
2025-09-24 17:48 UTC
I love #Box2D. :)
I'm considering making a "Lovers in a Dangerous Spacetime"-like (tiny characters moving around inside a spaceship to manually control it using various workstations) and after 30 minutes I've got the basic physics working without a hitch. 🥳
At first the player could push the ship around from the inside, but with a few lines of code in the postSolve callback I apply the reverse of the impulse from each resolved contact back to the ship. Problem solved.
(#gamedev with #love2d.)
Replies (0)
No replies.