I am facing an issue while trying to import a .obj file into my project using Threejs. The error message I am encountering is:
Uncaught TypeError: geometry.computeCentroids is not a function
at THREE.OBJLoader.parse (OBJLoader.js:304)
at XMLHttpRequest.<anonymous> (OBJLoader.js:22)
I have tried looking for a solution online, but unfortunately, I have not been able to find anything helpful. Does anyone have any suggestions or insights on how to resolve this issue?
Note: I am unable to share my code on stackoverflow at this time.