Hi all,

I have a little problem...
I am trying to create a designer for a virtual town (a school
assignment). I use Java3D for viewing the created town.
Here is the problem:
Once I've created the town, I want to view it from different
perspectives (8 static positions each a 45 deg angle apart). Anyways...
I have succeeded into detaching the View object from the ViewPlatform
and reattaching it to the next (45 deg further away) I want to stay
focussed on the town. I tried using the setHeadToTracker () method on
the View object... however, I get no effect... I keep gazing streight
forward instead of at the created town... Am I doing the right thing?

The steps I undertook:
-- code snippet --
  view.setTrackingEnable (true);
  Transform3D headTracker = new Transform3D ();
  headTracker.set (new Vector3f (10.0f, 0.0f, -7.5f));
  body.setHeadToHeadTracker(headTracker);
-- end code snippet --

Can anyone tell me what I am ding wrong?

Thanx,

Brian Welch

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to