Kencho
11-04-2006 22:06:15
Hey all!
Does someone know if tree collisions are supported with the function NewtonCollisionPointDistance() ? The Newton manuals state that they are supported, and indeed, the Newton SDK demos show it's possible to do, but for some reason it doesn't work with OgreNewt::Collision::getNewtonCollision(). All the other OgreNewt collisions work fine (Box, Capsule...).
I really need to know what might be happening as it's a key feature of my project...
Thanks in advance!
[EDIT] Re-checking the source code of the demo, I've seen they use a convex hull, which unfortunately doesn't work for me. I guess I'll have to search for a way to do compound collisions to simulate the tree collision...
Does someone know if tree collisions are supported with the function NewtonCollisionPointDistance() ? The Newton manuals state that they are supported, and indeed, the Newton SDK demos show it's possible to do, but for some reason it doesn't work with OgreNewt::Collision::getNewtonCollision(). All the other OgreNewt collisions work fine (Box, Capsule...).
I really need to know what might be happening as it's a key feature of my project...
Thanks in advance!
[EDIT] Re-checking the source code of the demo, I've seen they use a convex hull, which unfortunately doesn't work for me. I guess I'll have to search for a way to do compound collisions to simulate the tree collision...