Hey guys!
I was wondering if there was a way to parent an object during runtime.
like a obj.setParent()
or something
btw i add the object by scene.addObject()
[im using blender’s internal game engine on blender 2.79]
yes, addObject() returns the new object
newobj = scene.addObject("thing", owner, 0)
newobj.setParent(owner, False, False)
thanks.
btw i knew that addObject()
returns the object but was curious if there was a addObjectAsParent()
or somegthing.
but thanks, setParent()
works.