Page 1 of 1

Skeleton with a single bone

Posted: Tue Nov 12, 2013 12:49 pm
by cloud
Try this XML code with converter as it breaks when you try to convert it back into xml with a Bus error: 10 or similar in ogre load

Code: Select all

<skeleton blendmode="average">
    <bones>
        <bone id="0" name="Bip01_Head">
            <position x="0.044764" y="0" z="0" />
            <rotation angle="0.0515608">
                <axis x="0" y="1" z="0" />
            </rotation>
        </bone>
    </bones>
    <bonehierarchy>
    </bonehierarchy>
    <animations />
</skeleton>
I realize this is a silly thing to do who ever heard of a skeleton with just one bone, I'll use a tag point of course... but I was thinking I'd rely on the skeleton bone name for the attachment point