How can I remove movement or camera rotation in one direction with a trigger
I don’t really have a code for this I just looked around the internet and saw that the all the things I could find were from 2014 or 2015 so here I am asking myself, the question is something like this, I want to make it so when players enter certain areas they become unable to move in certain directions or unable to move their camera.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613004636im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
ANIMATION TRIGGER DOESN'T PLAY 1 Answer
Can a Trigger object utilize the OnTriggerEnter() Function? 2 Answers
How do I create a script to reset a level when my Player comes into contact with an object? 1 Answer
OnTriggerEnter2D not working 1 Answer
Issue with character movement and collision using Physics2D.Raycast. 0 Answers