Hello there chaps, and thank you for wonderful piece of code. It’s been a blast to use so far.
I’m currently trying out a a first person project (I loaded the ShooterGame example on top of the 4.10 version by glazed), and I’m having troubles with the camera. Two separate troubles to be exact. I have tiny tiny planets that one can walk around - the code turns the capsules and my own overlap calculates a new gravity direction, but I run into troubles with setting ViewPitchMin/Max and ViewRollMin/Max. I just can’t get my head around how to get them to recalculate based on gravity direction. The other trouble I have is with recentering the camera when I walk - what I mean by is, as I walk forward on a tiny planet, I would like to see the horizon all the time instead of my view slowly climbing up.
Anyways, all ideas appreciated. Thanks again for the code, it’s fun!