I wont to create colision responde animator for map, and some model puted on it. If i try to do that:
camera->addAnimator(anim);
camera->addAnimator(anim2);
it didn't work.
colision responde animator
-
- Posts: 10
- Joined: Thu Mar 29, 2007 3:13 pm
- Location: Poland
You want to use the IMetaTriangleSelector. You can get one by calling Scenemanager->addMetatriangleSelector(), i think.
After you've obtained one, you pass some triangle selectors to the metatriangleselector, and uses the metatriangleselector when you create the animator. Then you only need one animator.
When you add a couple of triangle selectors to the metatriangleselector, all of them are usable trought the single metatriangleselector.
After you've obtained one, you pass some triangle selectors to the metatriangleselector, and uses the metatriangleselector when you create the animator. Then you only need one animator.
When you add a couple of triangle selectors to the metatriangleselector, all of them are usable trought the single metatriangleselector.
If you don't have anything nice to say, don't say anything at all.