gforce2004 (1) [Avatar] Offline
#1
Hi, I'm currently writing an application for my thesis that is partly based on the J3DUI.

I have a similar setting as the flight-example. The user can move an avatar through a virtual world.

Even though I have revisited the book several times, as well as followed the suggestions from the last forum about a similar question, I have not been able to solve this problem:

In the scene, when using the mouse or keyboard as input to control the camera movement, how can I retrieve it's current coordinates, heading, etc.?

The book does not mention this in particular, and the API has many peculiarities that are difficult to follow.

Regards,
Henrik