Ahmed,

I've tried using Interpolators without success, and am at the moment am
doing it as you say with my own behaviour and timer.
As you have suggested, reading in the command line by line is exactly how
I'd like to do it...so far I've only been able to move the robot in one
direction. when I try to pass another directional movent it is reset and
moves from the initial start postion.



----- Original Message -----
From: "Ahmed Shakil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 11, 2000 8:50 PM
Subject: Re: [JAVA3D] Position & Rotation Interpolators - Movement Simulat
ion


> Shahbaz
>
> I would rather write my own behavior with a timer, which will read the
file
> command after command and simulate that transform group which contains the
> robot.
>
> hey if u want I can work on that with you
>
> Ahmed
>
> -----Original Message-----
> From: Shahbaz Hafeez [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 10, 2000 9:39 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Position & Rotation Interpolators - Movement
> Simulation
>
>
> Hello,
>
> I'm simulating movement of a basic robot (or well trying to) using Java3D
> with great difficulty.
> The robot is to move around on the ground (x and z coords) in a virtual
> environment given a user set of commands read in from a file, such as:
>
>   FORWARD 10
>   TURN LEFT 90 DEGREES
>   FORWARD 5
>   TURN RIGHT 90 DEGREES
>   REVERSE 10
>
>
> My main problem is that I am unsure as to how to implement this, and the
> best way to do it. I have tried Using PositionInterpolator and
> RotationInterpolator to be executed in sequence without success..
>
> If someone could possibly show me how for example I could move an object
> forward, stop, turn left or right then move forward again in that
direction
> i would be very grateful!
>
> Any help on how I can move an object around as above, would be much
> appreciated, and examples of code on doing this would be greatfully
> appreciated.
>
>
> Thankyou,
>
> Shahbaz
>
>
===========================================================================
> 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