Rotate b3dm file

Is there is a way to rotate the b3dm file in the browser after it was loaded ?
My problem is that converting the .dea files into gltf and then to b3dm makes the the models look a bit “clumsy” and

I need to fix their rotation a little bit . I want to find a way to measure the x,y,z needed rotation degrees . In the browser so I can play with the rotation of a single b3dm file

and then append the correct transform matrix to the tile.transform

(something like

You can try setting a rotation matrix to the tileset.modelMatrix property, but this may not work as expected if you already have a tile transform or the model is already defined in WGS84 coordinates.

If you are trying to position a model that is originally y-up and is defined in local-coordinates, you can probably use a tile.transform like this to position it correctly on the Earth surface.

Transforms.headingPitchRollToFixedFrame(Cartesian3.fromRadians(longitude, latitude, height), 0.0, 0.0, 0.0);