Code: Select all
scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator(meta, player, vector3df(20,20,20), vector3df(0,-1,0), vector3df(0,-10,0));
player->addAnimator(anim);
anim->drop();
Thanks for helping
Code: Select all
scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator(meta, player, vector3df(20,20,20), vector3df(0,-1,0), vector3df(0,-10,0));
player->addAnimator(anim);
anim->drop();