I put my 3d model in the camera and it wont turn with the camera


You need to set the camera entity reference here to the camera in the scene:

If it’s not set, it creates a new camera entity as a child at runtime as you can see here:


it still doesnt work


There’s a bug in the FPS controller where it nulls the camera entity property on init which shouldn’t happen.

Remove line 19 in first_person_movement.js

Fixed project: https://playcanvas.com/editor/scene/1427322

2 posts were split to a new topic: Bullet script doesn’t work