- Home /
Question is off-topic or not relevant
Second play may not be able to leave view
Hey im makin a top down shooter with a function to drop and add the second player at any moment. The camera is focussed on player 1 and if player 2 is playing he should not be able to leave the view that player 1 is moving around by walking. it's a bit similiar to lego stars wars.
i was thinking about putting walls just outside the edge of the camera view but i think thats not really a good way to do it.
thanks is advance for help.
Sorry, but your question is not suitable for Unity Answers. Please use the Unity Forum for discussions such as "How to ...". Unity Answers is here to help you solve any specific problems you have.
Follow this Question
Related Questions
Viewer position lost in Space. How to get back to scene? 1 Answer
How do I calculate a view matrix using Matrix4x4.LookAt? 2 Answers
How can I know if a gameObject is 'seen' by a particular camera? 11 Answers
Fixed width, relative height, on different aspect ratio screen? 4 Answers
Camera not Following Inspector's Value (Transform) When Play 0 Answers