Alice Community  

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

Reply
 
Thread Tools Display Modes
howcan i get the camera to follow..
Old
damarus666
Guest
 
Status:
Posts: n/a
Default howcan i get the camera to follow.. - 05-01-2007, 06:37 PM

been trying to figure out how to get teh camera to follow a sailboat wherever it moves to..
   
Reply With Quote
Vehicle
Old
gdev
Guest
 
Status:
Posts: n/a
Default Vehicle - 05-02-2007, 06:29 AM

One way is to set the vehicle for the camera to the sailboat. Click on camera then the properties tab. Change the vehicle to sailboat.
   
Reply With Quote
A related Capability
Old
jperry
Junior Member
 
Status: Offline
Posts: 8
Join Date: Apr 2007
Location: Kenmore, WA
Default A related Capability - 05-13-2007, 05:24 PM

Sometimes, rather than have the camera follow one object, you may want the camera to switch between objects. For example, with a Seaplane and a Sailboat, create the following two events in "While the world is running":


When "S" is typed, do camera point At Sailboat
When "A" is typed, do camera point at Seaplane

Then consider combining these two tasks by putting a Do Together block in each event, and have a line of code to have the camera point at the appropriate object and then a line of code to have the camera's vehicle set to the appropriate object.

May need some experimentation to keep the camera on an object. For example, my seaplane keeps flying off the screen faster than the camera pans to follow it, (but pressing the "A" key catches up with the plane)
________
Vapir air one vaporizer

Last edited by jperry; 02-28-2011 at 04:46 AM.
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.