Hi,
on cubescene example i have displayed the following error:
TypeError: dist2 is null
if(dist2.distance<5) xinc=0;
or
TypeError: ray is null
var dist = ray.distance;
can someone fix this example error?
I'm working on that example for a project and have to fix it..
The error is generated by
return null from the .ray() function.
Sometimes the
var objects = this.getObjects();
on line 12930 of glge-compiled.js
return null value so the rest of the script have a null value and crash..
How can we correct this demo?
Hi,
on cubescene example i have displayed the following error:
TypeError: dist2 is null
if(dist2.distance<5) xinc=0;
or
TypeError: ray is null
var dist = ray.distance;
can someone fix this example error?
I'm working on that example for a project and have to fix it..
The error is generated by
return null from the .ray() function.
Sometimes the
var objects = this.getObjects();
on line 12930 of glge-compiled.js
return null value so the rest of the script have a null value and crash..
How can we correct this demo?