Setting up Doors

From Off Grid Wiki
Revision as of 10:40, 30 June 2017 by Dominic (talk | contribs) (Created page with " == Add the door into your scene == Firstly you need to add the door prefab to your level and position it as you'd like it to appear in-game. To do this in your Project Folde...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add the door into your scene

Firstly you need to add the door prefab to your level and position it as you'd like it to appear in-game. To do this in your Project Folder you need to navigate to the Doors folder (see below) and choose the prefab which you prefer by dragging it into your Scene. For this tutorial we'll use a Swinging Door with Scanners so that once set up properly, it will require a correct ID Card to open. Once you have placed and positioned the door in a doorway you will be able to see it in-game and it should open if you used a door prefab - you will know if you have used the correct prefab because when in the Inspector view if you click on your door, it should already have an Animator and Door Script component.

The folder that contains the door prefabs

Making your door specific

changing opening face direction locked/open linking to network