FlyCamera question

Is there an easy way to make a flyCamera take these into account:

. this.keysUpward
. this.keysDownward

so that it behaves like a UniversalCamera along the local “Y axis” (is that even correct to see that way?)

cc @PolygonalSun

Here is the small example - https://playground.babylonjs.com/#2TP75F#38
Press Space to go up, ‘Z’ to go down.

1 Like

Thanks, that works for UniversalCamera and I am aware of that. But what of FlyCamera? :slight_smile:

Hey @plopidou,

AFAIK, the FlyCamera’s keysUp and keysDown should function identically to the UniversalCamera’s keysUpward and keysDownward.

1 Like