Hey dude,
I've tried this, my C++ knowledge is quite limited (So much so there is very little, I mean very, outside that of the irrlicht tutorials, but I have some experience in C# and making games in Dark Basic Pro) , so if there are any obvious points I've missed, then I guess its to be expected, if not, a kick in the shins will do it.
I have followed the movement tutorial, but that only move each time you press, rather than holding it and it moves. And I have also tried a camera system, but I am having trouble understanding to get it all to work.
For my object I want it to move forward and right, turn left and right from the keyboard and for my camera to be at a perspective, follow it and face the object, something in the region of this;
upkey pressed- move object forward by x amount
down pressed - move object backward by x amount
left key press - get direction y = numeral, rotate object 0,numeral+3, 0
ditto for right key
Position camera object position x, y+100, z+-130
point camera object position.
Help would much be appreciated.
Moving an object/Camera follow
-
- Posts: 17
- Joined: Mon Oct 30, 2006 12:39 pm
Moving an object/Camera follow
Running into walls is not a good idea...Trust me