Steven Yau
Steven Yau
A common issue with developers new to PlayCanvas is ensuring that event listeners to objects like the mouse are cleaned up properly when the scriptType is destroyed (eg destroying the...
https://github.com/playcanvas/engine/blob/master/src/framework/application.js#L1149 At the moment, the input update is done after script update which means that input can be a frame behind?
At the moment, the Engine directly changes the dimensions of the canvas in application resizeCanvas function https://github.com/playcanvas/engine/blob/master/src/framework/application.js#L1535 With the Editor, there is some co-dependency between the HTML JS code and...
Thread: https://forum.playcanvas.com/t/weird-shading-lines-when-using-normal-maps/17207/ Repro: https://playcanvas.com/editor/scene/1078580  It should look more like this:  OP mentions that lower image was taken when they use glb and export the mesh’s normals AND tangents...
``` update: function (dt) { var pads = this.poll(); var i, len = pads.length; for (i = 0;i < len; i++) { this.previous[i] = this.current[i]; this.current[i] = pads[i]; } },...
Some browsers like chrome, will get network resource errors if there are too many network requests at once (usually around 1000 on my Macbook Pro). This will need to network...