wiki.sine.space | sinespace

Making Animated Doors

From wiki.sine.space
Revision as of 13:01, 11 October 2016 by JamesStallings (Talk | contribs)

Jump to: navigation, search


In this Tutorial we will illustrate the construction and configuration of two types of scripted single-pane doors: the Sliding Door, and the Swinging Door. Both doors are presently a bit simple. We'll be updating both the doors themselves and the wiki as needed.

Doors could be said to be complex game objects. They are structured collections of GameObjects and Components, and how they are assembled and "wired up" is essential to their operation. They will typically consist of some sort of framing in which the door proper and possibly a hinge sits, and the door, which may be a single mesh or in the case of the swinging door, an empty GameObject "hinge" to which the door mesh is a child.

Additionally, the various GameObjects will have certain components associated with them, typically to facilitate user interaction and to animate the GameObject.

Setting up doors can be a bit tricky, but creating content for unity is not for the faint of heart. Hopefully, with this tutorial we can make that workflow somewhat less painful for Space creators.


The Sliding Door

The Swinging Door