Currently, I am conducting Webgl experiments using ThreeJS and PhysiJS while integrating them into angularJS. However, I am facing an issue where the gravity is not being applied properly. You can refer to an example of this problem here:
Upon checking the console, I noticed multiple errors:
gl.getProgramInfoLog() warning: Variable sampler array index unsupported.
This feature was removed in GLSL 1.20 and may not be supported for 1.10 in Mesa.
Although I initially believed this error to be a bug on my GPU,
it seems to be just a warning rather than an error.
https://github.com/mrdoob/three.js/issues/4507
I encountered two "undefined is not a function" calls. The file containing the Physics implementation is located here:
https://github.com/vimes1984/spiro/blob/master/scripts/controllers/spiro_eight.js
Due to my limited knowledge of webworkers, I am unable to resolve this issue. Could someone provide guidance or explain why it's not functioning as expected?