Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
3

2D collision detection?

Asked by
di5z 11
9 days ago
Edited 9 days ago

I've tried the popular method of detecting whether or not a frame is within the size of a frame which works perfectly for frames with no rotation, but it completely breaks once you rotate the frame. How could I make collision detection work with angled walls?

https://www.youtube.com/watch?v=IELWpIGtjRg

I found this video explaining how you can detect collisions using SAT(Separating Axis Theorem) but that video's pretty outdated and resource intensive when expanding to much more frames. Anyone got any good, effective idea?

1
sat is a test for me l0l greatneil80 2240 — 9d
0
l0l raid6n 2290 — 9d

Answer this question