Below is a script to make a sliding door instead of a regular one suitable for sci fi levels and futuristic doors.
Sliding door unity.
This is great for beginners who are looking i.
Please set your cookie preferences for targeting cookies to yes if you wish to view videos from these providers.
Slidingdoor cs make an empty gameobject and call it door drag and drop your door model into scene and rename it to body move the body object inside door add a collider preferably spherecollider to door object and make it much bigger then the.
The single panel sliding door is perhaps the simplest possible articulated door.
Before we get into a step by step walk through of it s construction lets break it down conceptually from the top level.
Door opening trigger in unity in this video i show you how to open a door with a trigger pressure plate.