I’m making a python pickup script where you use a keyboard button to pickup objects.
I used the obj.setParent() feature to parent the objects to the hand but I can’t figure out how to clear parents in python. Does anyone know how to do this?
gill
Looks like there is a removeParent() method
http://www.tutorialsforblender3d.com/GameModule/ClassKX_GameObject_23.html
Good luck
–Kupoman
Thank you. I didn’t see that. I tried looking it up in the BGE api but I couldn’t find it.
gill