Video 10 - Seguimiento de la cámara

En esta sección se resolverán dudas relacionadas con programación de Unity, pero también se puede preguntar temas relacionados con la interfaz, con el uso de componentes entre otras cosas.

Moderator: julianmartinez16

Post Reply
User avatar
xacarana
Site Admin
Posts: 1019
Joined: Fri Jan 15, 2016 6:13 pm

Video 10 - Seguimiento de la cámara

Post by xacarana » Tue Mar 29, 2016 12:53 pm

I want to make the camera follow the player avatar around the screen. I know I can do this by making it a child of the avatar, but I don't want to do it this way because if I do, the camera will also rotate when the avatar rotates, and since the avatar will be doing a lot of sudden 90-degree turns, this is very disorienting for the player. How do I tell the camera to keep the avatar in the center of the screen, but not rotate when the avatar rotates?
Explicación de como hacerlo acá



http://forum.unity3d.com/threads/making ... ect.32831/

https://www.raywenderlich.com/69392/mak ... -2d-part-1

https://www.raywenderlich.com/69544/mak ... -2d-part-2
Andrés Bedoya Tobón
Profesor
"I only smile in the dark, I only smile when it's complicated" Raybiez

Post Reply