SFML community forums

General => SFML projects => Topic started by: Tojmak on March 10, 2020, 12:30:50 pm

Title: SAT collision algorithm
Post by: Tojmak on March 10, 2020, 12:30:50 pm
Hi there,
i made program with collision based on seperate axis theorem. I will be very gratefull for any feedback about that little project:
https://github.com/TMalicki/Seperate-algorithm-theorem-with-MTV-

Looking for some advice how things could be done.
Title: Re: SAT collision algorithm
Post by: Mortal on March 12, 2020, 08:29:42 am
excellent, nice work,  :)

i can't give you any useful hint about MTV with SAT, i never knew about MTV of SAT, from what i have learned on those subjects, SAT mostly were introduced for detecting collision. no one really used SAT for more than that. you just unlocked a new level of collision detection worlds. ;D

thanks for sharing.

really i like it, gotta dig deep with those projection based collision detection methods.
Title: Re: SAT collision algorithm
Post by: Tojmak on March 12, 2020, 10:59:30 am
Well, that's not exactly my idea. I saw video with something similar to that while searching for information about SAT. It was stunning for me how simply and cool was that. So i take it as inspiration and code it by myself. Sorry for not to mention that from begining. Anyway thanks for respond. And beside that what i was looking for was some opinions about structure of the code. Not sure though if it's complex enough to review this code in that way.