Hey All, When I look down, plane will cover his parent. like this:
pg: billboardmode all | Babylon.js Playground (babylonjs-playground.com)
Hey All, When I look down, plane will cover his parent. like this:
pg: billboardmode all | Babylon.js Playground (babylonjs-playground.com)
Hey!
you can change the pivot with:
plane.setPivotMatrix(BABYLON.Matrix.Translation(0, -2.5, 0));
But honestly I’m not sure that this is what you need
Thanks . I tried this. But it doesn’t seem to affect the plane with billboardmode
set pivot pg:
billboardmode all , pivot | Babylon.js Playground (babylonjs-playground.com)
temporary solution pg:
not billboardmode all , lookat | Babylon.js Playground (babylonjs-playground.com)
(set parent look at camera. I don’t think it’s the best way)
This is super fine!
Your example doesn’t work
In billboard mode, can you suggest adding the attribute center as the rotation center? Refer to three js
https://threejs.org/docs/index.html#api/zh/objects/Sprite.center
Use .bakeCurrentTransformIntoVertices()
to do that