Bug in TreeCollisionSceneParser

pra

18-05-2010 23:18:39

I just discovered that in the current implementation, a node's scale is ignored then passed to TreeCollisionSceneParser.

To fix that, in OgreNewt_CollisionPrimitives.cpp on line 559
Ogre::Vector3 rootScale = Ogre::Vector3::UNIT_SCALE;
must be changed to
Ogre::Vector3 rootScale = startNode->getScale();

I hope this will get updated in the SVN soon.

kallaspriit

24-05-2010 16:45:50

Added fix to SVN.