Closed ThreeMarks closed 10 years ago
you can do it like this:
Vec pos = newPos.getVirtualPosition( EventManager.getInstance().getZeroPositionLocationObject()); camera.setNewPosition(pos);
i will add this method to the GLCamera class as camera.setGpsPos(GeoObj newPos)
How do I update the GPS position of the camera?
I see a method to get it's GPS position, but no set. I also see in the demos that the camera can be moved via buttons (Set Pos A, Set Pos B, etc).
How do I achieve this?
EDIT: I'd like the camera to move as the user moves around (in the real world with her device). What's the most appropriate solution for this?