Page 1 of 1

Triangle collision

Posted: Tue Sep 29, 2020 6:29 am
by Senlaar
Hello!

I've been playing with triangle and mesh creation. The effects of this comment have made things a bit trickier:

//Triangle collisions and ray tests are one-sided; only tests which see the triangle as wound clockwise in right handed coordinates or counterclockwise in left handed coordinates will generate contacts.

Is there a good pattern/approach to triangles that *would* generate collision contacts from both sides? (Simplest concrete case: just sending dynamic spheres flying at static triangles from both sides.) Thanks as always!

-Senlaar

Re: Triangle collision

Posted: Tue Sep 29, 2020 4:55 pm
by Norbo
Just the obvious one- create two triangles with the same vertices, but opposite winding.