New Bullet Character Controller

I just forgot to include a proper presentation of flying into the demo. The r and f keys do make the controller fly(yyyy like an eagle… sorry, couldn’t help myself), but there’s no binding for switching movementState to “flying”. And that’s required for r and f to work. I will include that tomorrow, and for now you can just add:

self.character.movementState = 'flying'

at the end of the setup() method, which will permanently enable flying, just so you can try it out.

That also reminds me a setMovementState method would be nice.

To make a ladder (or a force field, water etc.), you would simply use an area trigger (made of a bullet ghost object) which would set movementState to ‘flying’ on every character entering it, and ‘falling’ on every character leaving it.