Alice Community  

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

Reply
 
Thread Tools Display Modes
Camera Following Character
Old
EdLaFave
Guest
 
Status:
Posts: n/a
Default Camera Following Character - 11-05-2005, 04:11 PM

I need the camera to follow my character as he navigates the world. As the character moves I point the camera at the character and if the camera is at least 10 meters away from the character I move the camera towards the character forward at 1.5 meters per second.

This technically works but there are some problems:

1.) How can I make sure the camera is ALWAYS behind the character. For instance when the character turns I'd like the camera to turn with the character.

2.) I want the camera to remain in the air so the user has a good perspective of whats going on in the world. However, once the character moves around enough the camera eventually winds up on the ground so you can't view the world all that well.
   
Reply With Quote
Old
gabe
Administrator
 
gabe's Avatar
 
Status: Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
Default 11-05-2005, 04:17 PM

Try using the vehicle method. As an example, if you set the camera's vehicle to the chicken, whenever the chicken moves, the camera moves with it.
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.