I’m trying to do something pretty simple; setting up a aim constraint with python in motionbuilder. But I can’t figure out how to set the world up object??
I found the property in the property list but can’t find any way to set it. Could anyone point me in the right direction? Below is an example of what I have been trying ( which is not working )
con_manager = FBConstraintManager()
con = con_manager.TypeCreateConstraint(0)
I’d just figured that out, but thanks anyhow :). strange way of setting constraints up in mobu. I hadn’t looked at that before because I was using this to assign more parents:
for x in (parent1, parent2 etc):
pos = 1
con.ReferenceAdd(x)
pos += 1
Should of figured that out though, when noticing you can’t do ReferenceAdd( 2… to add the second parent…