Increase axis thickness of BABYLON.BoundingBoxGizmo

hello ,
i have adding a BABYLON.BoundingBoxGizmo for many mesh , the axes of scaling are not very clear that’s why i want to enlarge there thickness .
PG : https://www.babylonjs-playground.com/#U8EJ66#2

thanks for help :slight_smile:

Hi! This was discussed (and solved) here - Enlarge the thickness of the axes in gizmos

2 Likes

I have already read this discussion and noticed that @Cedric added a new feature but i don’t any playgroung exemple or how i can use this new parametres of thickness.

thanks for ur time :slight_smile:

Notice the initialization of the gizmo manager:

https://www.babylonjs-playground.com/#4TBMBR#42 (and click one of the meshes to see the gizmo)

i initialize gizoms like this :

for scale : const gizmo = new BABYLON.BoundingBoxGizmo(
BABYLON.Color3.FromHexString("#0984e3"),
utilLayer
);
pg : https://www.babylonjs-playground.com/#U8EJ66#2
for rotation : this.gizmo = new BABYLON.RotationGizmo(this.utilLayer);
like that i can’t add the new params ?

@Cedric will be able to provide a better answer :slight_smile:

1 Like

Hi @issam_abdelhedi

The gizmo axis thickness can be change for rotation/position/scaling gizmo, not the boundingBoxGizmo.

Like in this PG:
https://www.babylonjs-playground.com/#U8EJ66#8

1 Like