Ok so I been trying to fix this function bug… Here it is:
And here’s the code error:
And here’s a link to the code editor:PlayCanvas | HTML5 Game Engine
Ok so I been trying to fix this function bug… Here it is:
I see a typo.
You write:
this.player.getPositon().z
instead of:
this.player.getPosition().z