Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Player Input and Cameras Rotate the Player Towards the Target

Norbu Wangdi
Norbu Wangdi
7,187 Points

getting better view of the frog "roll the y value of the position"

Everything so far is good. But as in the video, i cannot adjust the camera position. I have gone to "camera" in the hierachy and in inspector window, while game is still playing I have changed the Y value of the position....instead of getting better view of frog and scene, it moves from top to bottom. any help?

Simon Andersson
Simon Andersson
6,880 Points

Make sure you are using the Local setting and not the Global setting. You can see this setting to the left of the play button. You can also switch between these two values with the X shortcut key.

1 Answer

Norbu Wangdi
Norbu Wangdi
7,187 Points

Thank you Simon, Actually i am already on local setting. But till it keeps moving from top to bottom instead.

Simon Andersson
Simon Andersson
6,880 Points

If you're on local setting but still only adjusting the Y axis in the inspector it will go up and down. However, if you instead move the Y axis (green arrow) with your mouse locally, you will notice the the Z axis will probably change as well.

Try using the local setting and then drag the Z axis (blue arrow) isntead of changing the Y axis in the inspector.