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 Cameras in Unity Camera Movement Scripting an Orbit Camera

Clayton Gorman
Clayton Gorman
3,189 Points

Orbit works, but camera looks at floor.

Each time I restart the game the camera is looking at the origin position that cinematic is set on. I've made sure that it is parented to Camera with the proper Transform values on both objects. To get the game to look like it does in the video I can either uncheck and recheck the Camera component on Cinematic Camera and it will work or hit the Apply button on the Cinematic Camera. As soon as I Close out of the game it resets back to before looking at the origin again.

1 Answer

Clayton Gorman
Clayton Gorman
3,189 Points

Somehow added camera component to the floor, deleted and ran as normal.