Hi Haroldo,

It sounds like you are not setting the StartTime of the Alpha when you
update the points in the PathInterpolator. By default the Alpha startTime
is set ot the system startTime.

When you call alpha.setStartTime( System.currentTimeMillis() ); the
interpolator will start at the first point.

Rgds

Paul

----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------

>X-Originating-IP: [161.24.1.208]
>Mime-Version: 1.0
>X-OriginalArrivalTime: 09 Nov 2000 13:39:39.0636 (UTC)
FILETIME=[8211EB40:01C04A52]
>Date: Thu, 9 Nov 2000 11:39:39 -0200
>From: HAroldo Pereira <[EMAIL PROTECTED]>
>Subject: [JAVA3D] problem with the first point in the
RotPosScalePathInterpolator class
>Comments: To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>
>Hi
>
>  I intend create a new system that detects collision between objects. I can
>get the Point of Collision (PC), but I have a problem with the animation of
>object.
>
>  I have used the RotPosScalePathInterpolator class. I have set 6 points
>(path) for animation of objects. The first point is the  PC and the other
>are randomic points.
>
>  I wish that the object start the new moving in the PC point, incresing the
>degree of immersion and reality.
>
>  In this present time, the objects collides (I know the PC), but them does
>not starts the new animation (PC + new randomic numbers) in the PC. The
>object start in any of the 5 randomic numbers.
>
>  How I set my RotPosScalePathInterpolator class for that it start the
>moving in the PC point ?
>
>  My master depend it.
>
>  []s
>
>  I hope the answers.
>
>Haroldo Pereira Nascimento
>Bacharel em Ciências da Computação
>Mestrando do Instituto Tecnológico da Aeronáutica - ITA
>Divisão de Ciencias da Computação
>E-mail:
>    [EMAIL PROTECTED]
>    [EMAIL PROTECTED]
>Home Page:
>    http://move.to/haroldo
>

===========================================================================
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