Page 1 of 1

Getting a mesh to walk on a terrain

Posted: Thu Jul 20, 2006 3:00 pm
by adam23
I hope someone can help me with this because I have searched everywhere. I am looking for the best way to get a mesh to walk on a terrain. Here is what I have for my collision response animator:

Code: Select all

	scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator(
		selector, node, core::vector3df(60,100,60),
		core::vector3df(0,-1,0), 
		core::vector3df(0,50,0));
	node->addAnimator(anim);
	anim->drop();
What happens is when the mesh gets to a hill it stops. Can someone please point me in the right direction.

Thanks in advance
Adam