[SOLVED] Need help with movment

var Move1 = pc.createScript(‘move1’);

// initialize code called once per entity

Move1.prototype.initialize = function() {

};

// update code called every frame

Move1.prototype.update = function(dt) {

};
code movment is hard

Hi, can you describe how are you trying to move the player?

A great way to start would be to check out these example projects,

Point and click movement:
https://developer.playcanvas.com/en/tutorials/point-and-click-movement/

First-person movement:
https://developer.playcanvas.com/en/tutorials/first-person-movement/

2 Likes

thanks