I have 3D scene containing a plane expected to be billboarded once in BJS.
Mesh is oriented Y forward inside Blender, as I always did when dealing with billboards (except for .babylon export where it should be Y backward facing)
Hmm, I still think that’s a weird behaviour: a billboard should be shown as a billboard no matter if it’s child or parent of an other element isn’it?
Shouldn’t be the user who decide if using performance-cost billboarding is alright or not?
Actually here my current usecase where I’m stuck: I have a globe, and some keypoints on it. These keypoints are custom meshes (not just planes).
They have some text on it, and that’s why they have to be read with mesh facing the screen ; I can’t use GUI 'cause artists have to be able to modify keypoints layout without having to see a bit of code (anyway it will be too difficult to code this GUI rather than using a 3D modeler).
Here a playground which reproduce this usecase: https://www.babylonjs-playground.com/#WC7IJG#4
My billboards works… but not rotate with the earth. If I attached them to a dummy, parented to the globe, same issue. If I set preserveParentRotationForBillboard, they’re not acting as billboards anymore.
For now I don’t see a solution to get rid of this limitations
I’m still doubtful about the fact that a mesh set as a billboard doesn’t act as a billboard, IMO it have to act as this no matter its situation At least this restriction have to be mentionned in the doc & API.
Playground update: actually if you want keep your hierarchy readable (especially in the Inspector) you’re able to use a transformNode (without any transforms) as parent for your billboards https://www.babylonjs-playground.com/#WC7IJG#7