try this. just a sample how to do it. if need more help I will be available
after the weekend.
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".
gsTimer.java
pit.java