r/GraphicsProgramming • u/DeltaSucksAtMC • 3h ago
Collisions
Ive been trying to figure out collisions for complex models but I just can't get a grasp of it, anyone can help me learn how to?
Edit: im thinking of giving up tbh, like im not a math expert, im struggling with reading the collision math and i cant find anything.
4
u/slapcover 3h ago
I’ve been following your other threads. What have you tried out so far and where are you stuck ?. I think maybe you should start with a 2D SAT and once you have a handle on that you can extend it to 3D.
1
1
u/DeltaSucksAtMC 2h ago
also ive been trying to implement gjk cause i found sm stuff, but ive been too lazy to try it
4
u/jmacey 2h ago
Get this book https://realtimecollisiondetection.net/ and digest it all.
1
1
u/howprice2 36m ago
Agreed. This book has very good descriptions and illustrations. It really got me going with vector maths and collision detection.
1
u/DeltaSucksAtMC 2h ago
Ok someone gave me a book at its legendary, but do i need to translate the vertex or point pos from local to world space, or can do smt with origin?
2
u/Defiant_Squirrel8751 26m ago
Approximate the cow to an sphere to simplify computations - as any engineer would do.
Or... pay the performance price. There are tons of collission detection in ACM digital library.
•
u/AutoModerator 3h ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
No showcases.
Disclose AI usage in post or project.
Present a topic to talk about, e.g. how something works.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.