Hi Max,
The following should work:
Code:
euler = parent.get(viz.EULER)
parent.rotate(yaw,pitch,roll)
child.rotate(euler,viz.ABSOLUTE_WORLD)
You could also detach the child from the parent and apply the rotation in local coordinates by doing the following:
Code:
euler = parent.get(viz.EULER)
parent.rotate(yaw,pitch,roll)
#Detach the child from the parent and attach it to the world
child.parent(viz.WORLD)
child.rotate(euler)
I believe the
parent command was introduced in version 2.16, so make sure you have a recent version of Vizard. Hope this helps.