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 trialGonzalo Torres del Fierro
Courses Plus Student 16,751 Pointsposition the camera
how it is made possible that the frog appear behind the camera just giving the axis coordinates, in my case the first view on the "game" it is underground, like watching from beneath ...and giving the videos coordinates doesn't change for a better, i have to give different values, but the frog does not appears....how can i solve this??
2 Answers
Gonzalo Torres del Fierro
Courses Plus Student 16,751 Pointswell the solution was too simple, start all over again, and the complication that I had was because i moved the frog from the initial position given by the transportation of the player ( the frog) onto the Scene on the editor, when you are starting it is advisable not to move nothing, just leave everything on the same value and place following the teacher all the time, it is the only way to go along.
and yes I delete everything and I start from scratch again and it works
Gonzalo Torres del Fierro
Courses Plus Student 16,751 PointsThx for your answer Tyler, it is hard to explain, but i think you give me more details, just a silly question...about adjust the far clipping plane to a value of 100. matter the near 0.3 in my case?
well I'm testing the unity, think it is possible to go forward just making and learning...
Tyler Corum
3,514 PointsThe near value, as described in a prior video, is how close from the camera rendering would start. In the project sample we are creating, it wasn't asked of us to change the value, but I'm sure the more you use Unity, you may have a need at some point to change that value. I am just another student, as yourself, but I suggest to keep going. If you are still running into this issue, I would suggest to completely scrap the project and start over. It would only take a few minutes to re-import and try again. Best of luck, friend! Have fun!
Tyler Corum
3,514 PointsTyler Corum
3,514 PointsWhen you say appear behind the camera, do you mean appear in-view of the camera's perspective? Is the frog Game Object in the scene already? If I understand your question by making the previous questions assumed, then the following is the related data you're requesting. In the Position in Transform while the Main Camera object is selected in the Hierarchy: the X axis should be 0 (meaning centered in the left/right plane) and Y should be 5, meaning 5 meters (pos+) above ground zero. The z value is -1.5 because we want it to be back from center on the forward/backward plane by a meter and a half. The Y value is what raises the camera vertically. The rotation as follows is x = 60 to aim downward. Also, adjust the far clipping plane to a value of 100 to make sure that enough of the scene is being rendered.