Hello, a quick newbie question:
I have an overhead RTS-like camera, want to move it, so i move the camera itself and the cameras target by the same amount,
but still it kind of, well, i think the camera's target doesn't change..
What am i missing?
switch (key) {
case KEY_DOWN:
target = camera.getTarget();
target.setX(target.getX() + amount);
camera.setTarget(target);
target = camera.getPosition();
target.setX(target.getX() + amount);
camera.setPosition(target);
break;
..........
Users browsing this forum: etcaptor, Google [Bot] and 1 guest