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

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?

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?

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

Answer this question