Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Game Development How to Make a Video Game Score, Enemies, and Game State Create Enemy Navigation and AI

My camera is showing first person view of the enemy and not top down view of frog.

I don't know what I clicked. I can get the bird to move and chase the frog but the camera view is wrong.

Did you resolve your problem? Did you verify that your main camera is in the correct position (i.e. maybe you reset the transform, etc)? Is it possible that you added a 2nd camera to the scene? When you say, "the camera view is wrong," how is the view wrong (i.e. side view, too close, can't see anything, etc.)?

1 Answer

Diego Reyes
Diego Reyes
16,605 Points

Hi George,

Maybe you set the camera target to be the enemy. Also check the cameras position and make sure you didn't make it a child to the enemy gameobject.