Parent troubles

Blitz3D Forums/Blitz3D Programming/Parent troubles

necky(Posted 2003) [#1]
i`m nearing the completion of my B3d exporter but I`ve hit a problem with the orientation of hierarchy linked objects.
If, as an example, I have two cubes with identical orientations but if I link one to the other the parent adds the rotation to the child.
Is this correct and, if it is, does anyone have a piece of code in blitz or otherwise that effectively cancels out the parents rotation on the child node.

thanks guys


skidracer(Posted 2003) [#2]
Yes it's correct. Work around is to position / orient the child in global space before attaching it to the parent with the EntityParent command.