Triangle collision

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Posts: 12
Joined: Mon Jun 22, 2020 6:11 am

Triangle collision

Post by Senlaar » Tue Sep 29, 2020 6:29 am


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!


Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Triangle collision

Post by Norbo » Tue Sep 29, 2020 4:55 pm

Just the obvious one- create two triangles with the same vertices, but opposite winding.

Post Reply