by Egon » Tue Jan 25, 2011 1:49 am
After some PMing with D'Lanor I now know what went wrong:
In transform window properties (hit "n" in Blender to see it), coordinates of selected object are visible.
Now it turns out that if You do following:
*select child
*shift+select parent
*Ctrl+P -> make parent
Then Blender will keep on treating child coordinates as absolute coordinates.*
But if You open Transform Properties window and type parent name directly then blender start to treats child coordinates as relative. The same happens if I do this through Object (F7) panel in buttons window.
And PyPRP expect that all object have absolute coordinates.
That knowledge solved my problem.
Unfortunately that also mean that parent-child animations are also less useful than I though.
I assumed that with parent-child objects store relative coordinates to each other. If that would be case then it would be possible to turn of child animations on and off, but keep them moving thanks to parent animation.
Now, as I understand, after exporting to age file all object are animated separately, regardless of they relations in blend file?
It also means that if I want to use parent-child animations, I should do parent animation first, from beginning to end. Once I'm sure I won't be making any changes to parent animation, then start to do child object and they animations.
*- after some testing it turns out that even that isn't true. If that was true, then coordinates of childs would change I You move parent in blender file. But it looks like Blender just makes "snapshot" of global position of child object and keeps it event when You move parent object.