Created
December 9, 2023 10:02
-
-
Save flushpot1125/7efbd5a19e9c16f1f79352a8b96888c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create behaviors to drag and scale with pointers in VR | |
var sixDofDragBehavior = new BABYLON.SixDofDragBehavior() | |
boundingBox.addBehavior(sixDofDragBehavior) | |
var multiPointerScaleBehavior = new BABYLON.MultiPointerScaleBehavior() | |
boundingBox.addBehavior(multiPointerScaleBehavior) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment