More thickness to BABYLON.BoundingBoxGizmo

hello ,

i know that i make the question many times , but still search for solution :confused:
i’m using BoundingBoxGizmo like this :
this.utilLayer.utilityLayerScene.autoClearDepthAndStencil = false;
this.gizmo =
new BABYLON.BoundingBoxGizmo(BABYLON.Color3.FromHexString("#0984e3"),this.utilLayer);
pg exemple : https://www.babylonjs-playground.com/#U8EJ66#5
I would like to give a little more thickness to the gizmo without enlarging them (just the thickness).
I find them very fine and it is difficult to catch them with the mouse unless you point precisely at them. Giving them more thickness would solve this problem.

Thank you!

Hey, you can control the sphere size with gizmo.rotationSphereSize and the scale boxes size with gizmo.scaleBoxSize

1 Like

thanks @Deltakosh , it’s work with gizmo.scaleBox size , but when i use
this.gizmo = new BABYLON.RotationGizmo(this.utilLayer)
and i want to give a little more thickness to the gizmo without enlarging them
it doesn’t work with gizmo.rotationSphereSize.

@Deltakosh there a PG exemple : https://www.babylonjs-playground.com/#U8EJ66#6
thanks for help :slight_smile:

like that?
https://www.babylonjs-playground.com/#U8EJ66#7

1 Like

exactly but i think i have a problem with my babylon version despite I have the version 4.1 , but i got always this erreur with thickness params :

This is a 4.2 feature :slight_smile:

1 Like