Moving camera horizontally

@BlackThunder4007 & @jhancock532

We’ve got some stuff cooking on this, so please don’t take too hard a dependency on this, but I implemented a physics-enabled FPS controller as a proof of concept a few months back, if you want to look at that.

Input encapsulation experiment | Babylon.js Playground (babylonjs.com)

This approach includes gravity, jumping, sprinting, and interaction with both static and dynamic physics objects: you should be able to run into the big block, walk up/down the ramp, and knock over the stack of small blocks and push them around. Again, this is not final, so please take it with a grain of salt and know that we’ll be using it as a basis for some of the stuff we’re cooking up. :wink: But if you want to jump into how an FPS camera works, this might at least be interesting to look at. Hope this helps, and best of luck!

2 Likes