Object should build before get the position, now i can get the waypoint , I wan't to use camera "walk" along the way by way point ,
like this:
Camera cam = world.getCamera();
SimpleVector p = waypoint[WayID];
p.y -= 20;
p.z -= 100;
cam.setPosition(p);
but is seems mistake , could you help me to modify the code, thank s a lot
like this:
Camera cam = world.getCamera();
SimpleVector p = waypoint[WayID];
p.y -= 20;
p.z -= 100;
cam.setPosition(p);
but is seems mistake , could you help me to modify the code, thank s a lot