Hi!
I’m trying out the billboardMode on a mesh, I tried BILLBOARDMODE_ALL, BILLBOARDMODE_X and BILLBOARDMODE_Y but they all seem to behave as BILLBOARDMODE_ALL.
I’m setting the value like this: localParent.billboardMode = Mesh.BILLBOARDMODE_ALL; localParent.billboardMode = Mesh.BILLBOARDMODE_X; and localParent.billboardMode = Mesh.BILLBOARDMODE_Y;
I tried setting them in a playground on web and they do work there.
Do I need to assign them differently or is only BILLBOARDMODE_ALL supported?
I’m using versions:
“@babylonjs/core”: “5.0.0-alpha.65”,
“@babylonjs/react-native”: “0.4.0-alpha.47”,
I haven’t tried Babylon React Native yet, but this playground works the same as a browser in Babylon Native directly. Will try Babylon React Native next.
Alright! I also got it working here in a new BabylonReactNative project. So I messed it up somewhere, thanks again for looking into it. I’m going to be hunting this very odd bug then
Oh wow, in case anyone is curious, this was on me using id to find objects in the engine instead of uniqueId. So it would only find the node that had the BILLBOARDMODE_ALL, that’s why when I checked the billboardmodes, they would all give the correct setting but everything behaved like BILLBOARDMODE_ALL.
Wow, embarrassing