166
Support / Re: Could someone tell me how to use jpct-ae realize the attached car racing game?
« on: May 29, 2014, 06:02:07 am »
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