gamedev Show more
Finally fixed the collision detection (at least I hope). Turns out that recording the positions of the previous frame does actually work.
#gamedev #SFML
>Talks about the benefits of self-hosting>Hosts their code and design repositories on GitHub
@system76
Got the bumper car behavior implemented. Will need to fix it. The car doesn't retract after bumping.
I think I solved the problems with car physics and collision which is to keep track of the car's position of the previous frame. Up until now, I've been using an object's velocity to handle directional collisions.
#gamedev #sfml
Why does programming car physics have to be so hard?
Added a bumper car. You can't shoot it, only bump it off the road.
You are suffering only because your great-grandparents didn't resist.
Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.