Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

2D collision detection?

Asked by
di5z 11
3 years ago
Edited 3 years 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 2647 — 3y
0
l0l raid6n 2196 — 3y

Answer this question