The files: mediafire.com/?vll22nmgm2j
Please uncomment the line
# boom.setBillboardPointEye()
and see what happens.
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 :
Youre right, repositioning it and rotating a dummy parent node works. Thanks