Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Camera Following Character (http://www.alice.org/community/showthread.php?t=95)

EdLaFave 11-05-2005 03:11 PM

Camera Following Character
 
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.

gabe 11-05-2005 03: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.


All times are GMT -5. The time now is 04:27 AM.

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