Movement script not working

so i used this website here is the link https://www.codemahal.com/playcanvas-first-person-character-sample-code/ i followed it step by step and copied in the code but i couldnt move my play idk why

Hi @Aydin_Lassiter! Can you also share a link of your project so someone can take a look?

@Aydin_Lassiter Playcanvas has created a great example tutorial on first person movement. It does seem to use the same script you are looking at on codemahal. Maybe you can compare the settings from here.

https://playcanvas.com/project/405842/overview/tutorial-fps-movement

against your code to see where the issue may be. Also, you could fork this project and make it your own.

2 Likes