CollisionResponse and FlyStraight
Posted: Thu Nov 17, 2005 7:27 pm
I must use Flystraight animator to move node. When i use it, node moves, but the collisionresponseanimator disappear... (but when i moving node using setPosition, collisions are ok) How to use collision animator and flystraight animator in the same time? i add move anim.:
while node needs to move (node needs to move when W Key pressed)
Code: Select all
ISceneNodeAnimator* moveanim=irrSceneMgr->createFlyStraightAnimator(node->getPosition(), endpos, 20);
node->addAnimator(moveanim);
moveanim->drop();