i need help with my game. whenever i launch it this happens
please help me with this i have tried SO many times PlayCanvas | HTML5 Game Engine
i need help with my game. whenever i launch it this happens
please help me with this i have tried SO many times 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.
Either:
this.entity.findByName('Camera');
oh… sorry for that
sorry for wasting your time😅