Hello,
I want to make collision detection between a circle/sphere and a triangle? I know that .intersectsSphere() and .intersectsTriangle() exists. Now I use .intersectsBox() but that obviously does not work well, as you can see in the left part of fig1. I only want detection if they really collide each other, like in the right part of fig1
I made the circle with THREE.CircleGeometry()
and the triangle with a custom THREE .Vector3()
geometry. It is no problem for me to make the circle and triangle different. For example with a sphere and/or THREE.Triangle().
This is what I want to achieve, but preferably with three.js functions:
http://www.jeffreythompson.org/collision-detection/tri-point.php
Thanks in advance!