Hi,
I know I seem to be posting more questions than answers, hopefully that will change soon!
The requirement for my game is that the player (camera) moves set distances on a grid of ‘cells’ (to reproduce the movement on old games like Dungeon Master). I’m using a modified version of the MovementForce class I found as part of a Quake3 bsp demo (also used in the Maze3D demo) to move about.
A quick screen shot might explain what I’m on about
http://bencoleman.co.uk/screen3.jpg
I’ve messed about all day trying to stop the force after moving a certain distance, the problem is I either end up overshooting that distance by some small ammount, this error adds up and up and I end up not in the center of my “grid” of cells anymore. No ammount of correcting helps this. I have no need for the CollisionSystem as I know if the character is going to hit a wall from the 2D map array I have.
I understand this is a very specific problem but any clues, the best way to move a character an exact set distance?
Thanks,
Ben