Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Object to follow road
Old
Student123
Junior Member
 
Status: Offline
Posts: 1
Join Date: Apr 2012
Default Object to follow road - 04-18-2012, 10:32 AM

I have made a long road using the Road and Turn Classes. Is there a way to get an object to move along and stay on the road?
   
Reply With Quote
Old
GameKid
Senior Member
 
GameKid's Avatar
 
Status: Offline
Posts: 467
Join Date: May 2011
Location: My magnificent castle
Default 04-18-2012, 08:29 PM

Well, you could set that object to move to the center of each road class in order with the "Move to" block. You could also set it to turn whenever it comes to a turn object.


[COLOR=e4eaf2]Your text here[/COLOR]
Come on, you know you want to try it.
   
Reply With Quote
Old
Persuasion
Junior Member
 
Status: Offline
Posts: 2
Join Date: Mar 2018
Exclamation 03-23-2018, 09:38 PM

Could anyone help me figure out the assignment where you choose a car and the destination. I canít get them to move together .
   
Reply With Quote
Old
kelbstar123
Member
 
Status: Offline
Posts: 20
Join Date: Feb 2018
Default 03-25-2018, 06:04 AM

Quote:
Originally Posted by persuasion View Post
could anyone help me figure out the assignment where you choose a car and the destination. I canít get them to move together .
do set vehicle command
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 249
Join Date: Dec 2012
Location: Frosno, Ca
Default 03-27-2018, 10:09 PM

You could set dummy objects along the road and then have the vehicle move to each dummy object along the road.


Mark Henwood
mhenwood@ieee.org
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2018, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.