Need help using Bounding Box Gizmo Scale box

Hello,

I’d like to know which scale box is dragged, here’s a playground to help you understand: https://playground.babylonjs.com/#C77SMH#17

I saw in this topic that you had made an update for this.

Can you help me use this new feature?

Max :slightly_smiling_face:

It looks to me like in the linked PR, updating the declaration of the onDragStartObservable was missed. I expect it should be a type with the dragOperation and dragAxis. @Cedric is that right?

In the meantime, you can still get at the data, just not in a type safe way. See this update to your PG Babylon.js Playground

3 Likes

Yes, PR adds drag operation and drag axis to the notification. It’s not type safe.