[SOURCE] Introduction to VR in Unity - PART 7 : DOOR, LEVER, DRAWER,... (Patreon)
Published:
2020-06-22 15:30:16
Edited:
2020-06-22 15:30:22
Imported:
2022-10
Downloads
Content
Hey guys, here is the source code from the Restricted grab interaction tutorial. I also added in the code a little bonus the "HingeListener" script. You can use this script on any gameobject that has a hinge joint and it will trigger a custom event when the hinge reached one of his limits. :)
Use Unity 2019.3 or above to open the project.
Watch the tutorial here : https://youtu.be/bYS35_hC6B0