Alice Community  

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

Reply
 
Thread Tools Display Modes
camera follow car
Old
golfromeo
Guest
 
Status:
Posts: n/a
Default camera follow car - 02-12-2009, 04:17 PM

Hello, working on my first Alice world.

I am making a driving simulator, and have made a little "park" for the car to drive around in. I have the car driving with the arrow keys, but I can't seem to figure out how to get the camera to follow the car without irregular pauses or too fast speeds. I have found out how to get the camera to point at the car, it's just the following part I don't understand.

Any help appreciated.
   
Reply With Quote
Old
Mojax
Guest
 
Status:
Posts: n/a
Default 02-13-2009, 03:35 AM

what you need to do is select the camera in the object list, go down to the properties tab, and find the "vehicle=world" statement. Change this to be "vehicle=(car object)". Now wherever the car goes the camera should follow.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Lightbulb 11-24-2009, 12:17 PM

What he means is right mouse button the object you want to be following the car. Then click set vehicle to...then select the object that you want to follow


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
zarfang8
Guest
 
Status:
Posts: n/a
Default 11-24-2009, 05:00 PM

You could try having it move forward if it is a certain distance away, and point at the car in a do together, in an infinite loop.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 11-24-2009, 05:27 PM

Zarfang8, i have tried that and it looks weird but it works, i am trying to make a car simulator to but making a different camera follow


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
kylefwlr
Guest
 
Status:
Posts: n/a
Default 11-25-2009, 11:06 AM

simplest thing, change the camera angle to the position you want it at when you want it following the car, then set the camera's vehicle to the car, doesn't have to be in order but you need to change the angle everytime you start the world if you've moved it from the last time
   
Reply With Quote
Reply

Tags
camera, car, driving, follow, simulator

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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.