Hi,
I need help to write a solution determining the angle of intersection between surface of a sphere and the inner surface of a sphere segment.
.. with the goal to let the sphere, that is moving towards the segment, be redirected as its outgoing angle as with the incoming angle.
If i am right I need to calculate the angle of the normals vectors of the intersection faces...
I need your help about the how to get the normals of the faces that are aligned to the in
Well, this is an old post, but I've been quit busy these last weeks...
So here am I back with this : http://www.babylonjs-playground.com/#WOFCL
tl,dr; facet normals and facet positions ... will be useful for custom collision computation or anything else from your crazy brains, guys
var facetData = mesh.getFacetData(); // returns an array of facetDataElements
var i = 10; // the tenth facet
var normal = facetData[i].facetNormal // its norma