最終更新:2021-11-25 (木) 14:26:45 (880d)  

BABYLON.UniversalCamera
Top / BABYLON.UniversalCamera

the one to choose for first person shooter type games, and works with all the keyboard, mouse, touch and gamepads. This replaces the earlier Free Camera, which still works and will still be found in many Playgrounds.

the one to choose for first person shooter type games, and works with all the keyboard, mouse, touch and gamepads. With this camera you can check for collisions and apply gravity.

https://doc.babylonjs.com/typedoc/classes/babylon.universalcamera

サンプル

入力

継承

BABYLON.Camera

BABYLON.TargetCamera

BABYLON.FreeCamera

BABYLON.TouchCamera

BABYLON.UniversalCamera

参考

関連