What are those parameters? does target face mean the face that we just clicked on and centroid is it’s center? But the values of centroid are very weird
Can someone explain me what those are or point me in the right direction
What version of three.js are you using? There’s no mention of centroid or targetFace in any of the current raycasting code.
That’s the cdn to the three.js
And i believe that the version is r128
Can you share your code for setting up the event listener too?
looeee, I accept my mistake, let’s say that i heavily messed up the versions. And yes you are correct there’s no mention of centroid and target face in the current versions
All good, it’s easily done