[SOLVED] I need help with my 3rd person game

i need help with my game. whenever i launch it this happens

please help me with this i have tried SO many times :frowning: PlayCanvas | HTML5 Game Engine

You have two Entities called Camera

findByName will return the first Entity it finds with the name so it’s getting the Camera that doesn’t have the script on it.


  • Use one camera
  • Use unique names
  • Use script attribute to reference the right camera Entity
  • As the camera you want is a child of the Entity the playerMovement script is on, only search it’s children instead of the whole scene this.entity.findByName('Camera');

oh… sorry for that
sorry for wasting your time😅