Animation of the Camera

Hi Unity’s People, :slight_smile:

I’m newbie of Unity, I started using it only last week…
Perhaps this will be a banal question and maybe the answer is already in the forum, but I didn’t find it… :sweat_smile:

I’m creating an educational software…I have a map and on it I have different 3d models of historical buildings of my region…

I need to allow the user to navigate in the map, only trough a specific path…for example:

At start point the user press a specific key and the camera moves, for example, to the second model.
With another key the user flys in an different view of the castel and so on…

I don’t need a FPS, becouse it’s give too freedom…I’ll use this with children and it must be easy and safe.

Thanks, for all replies… :wink:

Best Regards,
Michele

I think it’s easy…
First, you must create the animation (change the layout from “tall” to “animation”, it’s on the top of the window on the left side), you’ll see the timeline.
-Set a key frame (press the red buttom)
-Select another moment in the timeline
-move/rotate the camera
-Set a key frame
-…

If you want to play only one part of the animation and push a buttom for continue playing the animation, you can use an attribute (rightclick on the key frame) or code something… :slight_smile: