Silverware-Games / Hundred-Bullets-Issues

Public Issue Tracker for Hundred Bullets - Todo, Fixes, Improvements are all here.
0 stars 0 forks source link

Moving Walls of Madness #15

Closed michaelplzno closed 3 months ago

michaelplzno commented 4 months ago

I believe I have an algorithm that will work for moving walls.

Run two collisions between the bullet line and the new wall position with the delta of the wall's end vertex movement added to the bullet line. One collision for each line vertex should work. If there is no movement, you can just do one line collision check per wall.