[SOLVED] solar system with billboards

The files: mediafire.com/?vll22nmgm2j
Please uncomment the line

# boom.setBillboardPointEye()

and see what happens.

So, you want to rotate it around a point and also keep it facing to the camera.
I’d apply the billboard to the geometry, and the hprInterval to the parent node.

boomGeom = boom.find('**/+GeomNode')
boomGeomCenter = boomGeom.getBounds().getCenter()
boomGeom.getParent().setPos(boomGeomCenter)
boomGeom.setPos(-boomGeomCenter)
boomGeom.flattenLight()
boomGeom.setBillboardPointEye()

You could also fix it in your modeler :

  1. put the geometry origin back to its center
  2. translate the parent node instead

Youre right, repositioning it and rotating a dummy parent node works. Thanks