Posted: Fri Aug 28, 2009 11:05 am
Thanks for the advice on how to set the character's position. But now if I use
I uploaded my project at this link if anyone can please take a look:
http://www.box.net/shared/eqhhh6l6oi
The only real changes I made to your example were the camera controls. So I still have no idea if your character was always floating (because of your camera view) or if its my fault.
Camera controls:
Hold RMB to rotate came
MMB zooms in and out
LMB to click a target and player will move.
I will appreciate anyone's help on how to make my character level with the ground!
my character hardly moves at all! Is it because of his radius or ellipsoid translation?viethero->move(targetPoint);
viethero->setPosition(vector3df(viethero->getPosition().X,
terrain->getHeight(viethero->getPosition().X,viethero->getPosition().Z)
,viethero->getPosition().Z));
I uploaded my project at this link if anyone can please take a look:
http://www.box.net/shared/eqhhh6l6oi
The only real changes I made to your example were the camera controls. So I still have no idea if your character was always floating (because of your camera view) or if its my fault.
Camera controls:
Hold RMB to rotate came
MMB zooms in and out
LMB to click a target and player will move.
I will appreciate anyone's help on how to make my character level with the ground!