|
|
|
@ -1320,6 +1320,8 @@ namespace MWRender
|
|
|
|
|
{
|
|
|
|
|
mHeadController = NULL;
|
|
|
|
|
|
|
|
|
|
if (mPtr.getClass().isBipedal(mPtr))
|
|
|
|
|
{
|
|
|
|
|
NodeMap::iterator found = mNodeMap.find("bip01 head");
|
|
|
|
|
if (found != mNodeMap.end() && dynamic_cast<osg::MatrixTransform*>(found->second.get()))
|
|
|
|
|
{
|
|
|
|
@ -1329,6 +1331,7 @@ namespace MWRender
|
|
|
|
|
mActiveControllers.insert(std::make_pair(node, mHeadController));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Animation::setHeadPitch(float pitchRadians)
|
|
|
|
|
{
|
|
|
|
|