Example for using camera? (SOLVED)

Is there an example of how to use the camera that I could download and dissect?

1 Like

The camera manual is fairly detailed and has plenty of code samples. There is also several topics discussing the camera on this forum.

3 Likes

I’ve tried the manual to no avail but I will try having a look through the forum pages

It turns out the method I was using was working but since the camera was parented to the game object, when the game object rotated so did the camera. I ended up creating a separate game object for the camera and adding a script that would continuously update the cameras position to the ‘hero’ game object - but not the rotation

2 Likes