[SOLVED] First Person movement

Hi, Im trying to make a first movement, but it doesn’t work. Here is my project with just a player.
Can anybody tell me what is wrong or help me??
https://playcanvas.com/editor/scene/540731

Here is my forked ‘fixed’ version: https://playcanvas.com/editor/scene/540759

A couple of things were needed

  • Angular factor of the rigid body of the player needed to be 0 on all angles otherwise the player would tip over
  • There was a small bug in the first person script that wouldn’t allow movement if the camera was looking straightdown an axis (such as the default rotation)
1 Like

Thank you so much! That little errors >.<