Hey everyone,
I’m totally new here, so forgive me if my question seems a bit basic!
I’m looking to build a camera that functions just like an ArcRotate Camera but without relying on the predefined BABYLON.ArcRotateCamera. I’ve been experimenting with the BABYLON.Universal camera, but I can’t seem to find any examples for it.
If anyone knows of a playground link or has some advice on how to do this, I’d really appreciate it!
Thanks a bunch!
Hey! why do you want to have the behavior of an ArcRotate without using the ArcRotate?
In the meantime: Customizing Camera Inputs | Babylon.js Documentation (babylonjs.com)
1 Like
Thank you for the reply.
Basically, I want to give multiple behaviour to the single camera instance. Like, using First-Person camera & ArcRotate camera using single universal camera instance. And toggle their behaviours on key press event.
ok so my link is the right one: It helps you see how you can add / remove input modes to a camera
I have reviewed the document provided.
However, given my limited experience with BabylonJS, I would appreciate it if you could provide me with a brief example via a Babylon Playground link.
This would greatly help me understand how to implement it.
Thank you for your assistance.
It is literally all in the doc
You have plenty of examples on the right column:
FreeCameraPointersInput demo (JS Ver) | Babylon.js Playground (babylonjs.com)