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 trialVidit Shah
6,037 PointsGet acess of camera for making Game
Hola! I want to Make a Game In unity which has can use users camera to pop up object in camera scene (What user is seeing through his/her camera) and create objects in them so as user can play
To further explain like in Frog game we used an environment where flies usually used to spawn but i want use the camera view of user to spawn the fly so as he/she can play in the camera view and attack the flies . by tapping on them
Bit weird but just want to try it out
2 Answers
Vidit Shah
6,037 PointsI want users Camera(from where he/she takes pictures) to be used as environment sir.I want his surroundings to be used as environment
Andrew Molloy
37,259 PointsSounds like you simply want the game to be first person rather than third person then. https://teamtreehouse.com/community/quaternions-in-first-person
Andrew Molloy
37,259 PointsAndrew Molloy
37,259 PointsNot sure I understand but are you basically wanting a first person view instead of third person or are you somehow wanting the camera itself to trigger spawning (and if so what is it that's the actual event you're wanting this to happen?)?