Download

Camera Collision

Hello.

I have placed Camera on the scene http://joxi.ru/n2Y8EBbSjQkEwm?d=1 and

Have Controller (with controllable platform) - i can move it left-right http://joxi.ru/823Ow46H6bzR72?d=1

It spawns in front of the camera and everything goes well BUT it goes out of the borders of the camera like this http://joxi.ru/RmzX651SWnvBMA?d=1

Of course i can add there some obstacles like wall, and my platform won’t go out of the camera but i don’t want add walls.

What should i do to create borders in this camera as collisions?