Error with compiler diff from 0.7 and 10

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Dogs
Posts: 195
Joined: Wed Sep 15, 2004 1:04 am
Location: michigan

Error with compiler diff from 0.7 and 10

Post by Dogs »

This code compiled fine with 0.7 and give me an error now..
Did collision change?


main.cpp(215) : error C2660: 'createCollisionResponseAnimator' : function does not take 7 parameters
This code hasnt changed at all ... worked fine with 07..
Can someone tell what the diff would be now with 10 and why its diff..

Code is below..




ISceneNodeAnimatorCollisionResponse* bump = 0;
bump = smgr->createCollisionResponseAnimator ( Selector, camera ,
core::vector3df(300,1500,300),
core::vector3df(0,gravity,0), 100.0f,
this is where the compiler is pointing ----> core::vector3df(0,0,0),0.0111f);
camera->addAnimator(bump);
bump->drop();




Any help would be great.. thanks
don_Pedro
Posts: 84
Joined: Fri Jun 10, 2005 1:34 pm
Location: Poland
Contact:

Post by don_Pedro »

Since version 8.0 this function have no accelerationPerSecond parameter, so it takes 6 of them now. Look into doc.
Guest

Post by Guest »

Thanks don..
I knew that something had to change just wasnt sure what lol..
Post Reply