Andrew,
Use the public x, y, z fields of the Point3f() object.

the code:
Point3f point = new Point3f( 0, 1, 0 );
System.out.println( point.y );

Should print l to the console.

If you need localToVWorld Transforms or other translations, the Transform3D
class can help you with that.



Hope this helps,

--
Chad Zalkin
3SI's Pro Viribus: http://www.3south.org



----- Original Message -----
From: "Alex Hew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 5:00 AM
Subject: Re: [JAVA3D] Help With Navigation Behaviors


> Hi trz,
>
> Thanks a lot, this method works and I am able to to navigate my model
> around. But now there is another problem, I want to be able click on
another
> point in the screen before the alpha end and still have my model running
> from its current point to the new point. I am only able to retrieve the
> current Transform3D of the model while its moving. How can I convert this
> Transform3D into a Point3f as I need to reassign the starting and ending
> point to the PositionPathInterpolator?
>
> Thanks in advance.
>
> -Alex-
>
> ----- Original Message -----
> From: "trz" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 21, 2002 12:11 AM
> Subject: Re: [JAVA3D] Help With Navigation Behaviors
>
>
> > Hew Ling Keong wrote:
> > > Is there any way I can reassign a new alpha to my Interpolator. Or was
> my
> > > approach into dealing with this navigation wrong and there is a better
> way
> > > to do it. And what would the performance like as I have heard that the
> > > Interpolator behavior will take up 100% CPU usage.
> >
> > Hi,
> > you can set the alpha with setAlpha or, better, reset the old alpha with
> >
> > patInt.getAlpha()setStartTime(System.currentTimeMillis());
> >
> >
> > For 100% CPU is the java3d as a whole that always use that much.
> > Behaviors as not slow or the like.
> >
> >
> > Bye
> >
> >
>
===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to