i’m new at playcanvas so i watched tutorials… i did everything right in the code(that supposed to make a box move), but it didn’t work.
please help me to fix it
this is the code:
var Move = pc.createScript('move');
Move.prototype.initialize = function() {
};
Move.prototype.update = function(dt) {
this.entity.translateLocal(0.1,0,0);
};