need help with advanced commands!!
			4 posts			 • Page 1 of 1		
	
need help with advanced commands!!
hi i'm working on a ''thing'' that follows a certain track, i want it to start at A > B > C > D > E
going to the A and when thats done, > go to B and when that's done > go to C; i know how to let it move but how do i let it go that way? it's like a ''procedure'' (i'm not english so i don't know if that's the right word) for example: starting up your computer: 1st it does this, when it's done it does the next this, and so it goes on. I hope your understand my question, i would be really pleased if you guys couled help me
well: it will be a ''cube'' with 4 thrusters at each side, so it can move at every direction, i want it to go to A and then when it's done immediately going to B, it just flies around in open space (gravity is OFF, airfriction ON) for example: it starts exactaly at [0,0]; i want it to go to A[10.5,3] for example and when it's there i want it to go to B[5,5] but how do i make it? plz not to many ''if'' statements
     mayby it get's better explamed by a code:
[0,0] > [10.5,3] done ? go to [5,5] the thrusting is no problem but the scripting is hard
							going to the A and when thats done, > go to B and when that's done > go to C; i know how to let it move but how do i let it go that way? it's like a ''procedure'' (i'm not english so i don't know if that's the right word) for example: starting up your computer: 1st it does this, when it's done it does the next this, and so it goes on. I hope your understand my question, i would be really pleased if you guys couled help me
well: it will be a ''cube'' with 4 thrusters at each side, so it can move at every direction, i want it to go to A and then when it's done immediately going to B, it just flies around in open space (gravity is OFF, airfriction ON) for example: it starts exactaly at [0,0]; i want it to go to A[10.5,3] for example and when it's there i want it to go to B[5,5] but how do i make it? plz not to many ''if'' statements
[0,0] > [10.5,3] done ? go to [5,5] the thrusting is no problem but the scripting is hard
Last edited by jessebax129 on Sun Jun 20, 2010 6:31 pm, edited 1 time in total.									
			
		- jessebax129
 - Posts: 34
 - Joined: Tue Jan 05, 2010 6:32 pm
 
Re: need help with advanced commands!!
What exactly do you want to do? Do you want the commands to run immediately after the previous one, or do you want timed ones?
You could make a mechanism.
			You could make a mechanism.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
		- 
				

RicH - [Funniest Person 2010]
 - Posts: 2043
 - Joined: Tue Sep 01, 2009 9:01 am
 
Re: need help with advanced commands!!
does it fly or can it follow a track?
			
		- 
				

Rideg - Posts: 948
 - Joined: Tue Dec 15, 2009 5:17 pm
 - Location: Östersund, Sweden
 
Re: need help with advanced commands!!
For moving along track better use this tech: http://www.algodoo.com/algobox/details.php?id=38026
You can see implementation in belaz racing too. Ghost car movement is exactly what you talking about.
			You can see implementation in belaz racing too. Ghost car movement is exactly what you talking about.
Dream of Algodoo as game development engine...
		- 
				

Kilinich - [Best bug reporter 2010]
 - Posts: 2098
 - Joined: Mon Aug 31, 2009 8:27 pm
 - Location: South Russia
 
			4 posts			 • Page 1 of 1		
	Who is online
Users browsing this forum: No registered users and 3 guests




