How to override mouse drag input?

For this simple example: Babylon.js Playground

How to make mouse drag to control the box’ rotation instead of rotating camera?

You can remove / customize camera inputs i.e. mouse input:

Playground example uses pointer move:

To advance, either make your custom drag behaviour (pointerdown and -up), or maybe use gizmos:

4 Likes