Skeleton with a single bone

Minor issues with the Ogre API that can be trivial to fix
Post Reply
cloud
Gremlin
Posts: 196
Joined: Tue Aug 08, 2006 6:45 pm

Skeleton with a single bone

Post by cloud » Tue Nov 12, 2013 12:49 pm

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
0 x

Post Reply