Hi there, I am trying to create a patch that allows the jit.gl.camera to act as first person view for the user.
The first thing I want to achieve is attaching a jit.phys.body to the camera so that it will interact with objects within the world box and also to constrict camera movement within the world box.
Secondly I want to be able to stick the camera to the ground to stop the user from being able to fly around the world box.
I've tried a few things but can't seem to achieve what seems like it should be fairly easy with the new physics engine.
Here is what I have so far.