r/unity_tutorials • • Apr 19 '23

Video Unity Devs! here's an interesting way to make physics based doors. Explain in a short clip!!!

78 Upvotes

3 comments sorted by

1

u/Bad-news-co Jul 30 '23

Hey bro I’ve saved this tutorial for a few months to use when I actually got to doing doors and now I’m finally there lol will this work with any set up? I’m making a third person shooter game and if I just set up my door and the frame in the hierchy to match yours, along with adding a hinge element, it’ll just work automatically like that?

2

u/ALi10555 Jul 30 '23

Hopefully it should, like if it doesn't work it could be because of collision. Frame might be colliding with door. Or maybe cuz player controller is not physics based. Otherwise I don't see a reason why I wouldn't work.

2

u/H3rotic Apr 20 '23

Love this! Thanks for sharing.