I’m currently working on a custom export script for blender 2.5 projects. But I have troubles with parent child relations. As far as I understood, every object has it’s local space. this space remains intact when adding to a parent. So when setting the child’s coordinates to (0,0,0) doesn’t necessarily mean it’s at the parents origin, but at the childs space origin, that is relative to the parent. That makes sense.
But how do I retrieve the local offset with python? there is object.matrix.location_part() but that returns the absolute coordinates. (parent local space + child local space)
I hope you understand what I mean. Hard to explain…