Camera follows an object. #885
Answered
by
SirePi
Throndax57
asked this question in
Questions & Help
-
I'm not sure if this is the right place to ask a question but how can I make the Main Camera change its position relative to a position change on another object(lets say player). |
Beta Was this translation helpful? Give feedback.
Answered by
SirePi
Jan 25, 2021
Replies: 1 comment 1 reply
-
There are no tedious questions :) In order to do what you want, there are basically two ways:
If you need more info or it's not clear, just let me know |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Throndax57
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are no tedious questions :)
In order to do what you want, there are basically two ways:
ICmpUpdatable
and in itsUpdate
method have it track your target GameObject's (player, enemy, whatever) Position, and attach it to the Camera.If you need more info or it's not clear, just let me know