1 BillboardControl for multiple Spatials?

Is it possible to set one BillboardControl object for multiple Spatials?

If I use cloneForSpatial(Spatial sp) method for for multiple Spatials, nothing happens.


BillboardControl billboarding = new BillboardControl();


for(int i=0;i<texts.length;i++)


billboarding.cloneForSpatial(texts); //texts[] is array of BitmapText instances



What behavior is is that you want?

1 Like

I need each spatial to stay at its position facing towards camera all the time.

Then you need to give each its own BillboardControl. A control can only belong to one spatial at a time.

1 Like