Move camera to the room that contains the trigger object.  If desired, change zoom to show the entire room or keep zoom static.

How to use:

- Place room objects on scene

- Select camera zoom limits, how fast the camera should move, and the visible buffer around each room

- Run this action on every frame

- Move the trigger object between rooms and camera will center on the room that contains the trigger object.

Tips:

- Use these conditions for custom logic when changing rooms : "Camera moving", "Camera zooming", and "Room changed"

- Set "Lerp Speed" to "1" to change the camera instantly

Download

Download NowName your own price

Click download now to get access to the following files:

RoomBasedCameraMovement_Example_SourceFiles.zip 113 kB

Leave a comment

Log in with itch.io to leave a comment.