im using
var W = this.app.keyboard.isPressed(pc.KEY_W);
if (W) {
this.entity.translatelocal(0,0,0.1);
}
But its saying this.entity.translateLocal is not a function, i need help.
var W = this.app.keyboard.isPressed(pc.KEY_W);
if (W) {
this.entity.translatelocal(0,0,0.1);
}
The code is using a lower case l
instead of L
for the word local.
got it