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?)
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?)
Here is the small example - https://playground.babylonjs.com/#2TP75F#38
Press Space to go up, ‘Z’ to go down.
Thanks, that works for UniversalCamera
and I am aware of that. But what of FlyCamera
?
Hey @plopidou,
AFAIK, the FlyCamera’s keysUp
and keysDown
should function identically to the UniversalCamera’s keysUpward
and keysDownward
.