Mouse drag doors.,Mouse drag doors
I'm very new to C# coding so excuse me for being very uneducated on this. After playing the video game "Phasmophobia", I was inspired to add the same sort of doors to my map, where you can hold in M1 and open/close a door by dragging it. This is a similar concept in Amnesia but not quite.
You can see an example in this video where he closes the closet doors. It is exactly the same with the regular doors. https://www.youtube.com/watch?v=Mrzc-p-N69A
I have read every previous topic on a similar topic but none seem to fit my description. If anyone knows how to code something like this into reality, It would be much appreciated!
Your answer
![](https://koobas.hobune.stream/wayback/20220613045017im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
2D How to set a limit to the rotation of my cube, when dragging with mouse 0 Answers
Opening/Closing doors 1 Answer
Editor is lagging 0 Answers
How do I play an animation from another object C# 1 Answer
Detect UI under mouse during drag 2 Answers