wiki.sine.space | sinespace

How to upload items as furniture

From wiki.sine.space
Revision as of 11:41, 17 December 2018 by HannahT25 (Talk | contribs)

Jump to: navigation, search

You can upload items as furniture items to place in room templates with the 'Edit Room' button. These furniture items can be dragged from your inventory and placed in your room. The items don't necessarily have to be furniture such as chairs, they can be game items (like the Greedy Greedy table in the Welcome Center), a presentation tool or pieces of a structure which users can use to build a larger item (e.g pieces of a race track).

If you want to make the furniture item sittable, you will need to add the SeatImproved component to an empty child object and parent it to the furniture. Here is a tutorial (page pending) on how to do that.

Attaching the Furniture component

1. Have the item object you want to upload as a furniture item in your scene in Unity. Once it is in the scene, click on it in the hierarchy.

2. In the Inspector window, click on 'Add Component', search for Furniture and add the 'Room Furniture' component.

Roomfurniture.png

3. Once added to your object, you can change the settings to best fit what the furniture will be used for. Tick the Place on Floor box for objects such as chairs, sofas e.t.c, tick Place on Walls for things such as paintings and tick Place on Ceiling for things such as ceiling fans. If you are uploading furniture which will be placed on the floor or ceiling, make sure that the Y axis (green arrow) in Unity is facing outwards. If you are uploading furniture which will be placed on walls, make sure that the Z axis (blue arrow) points outwards (away from the wall).

4. In the Collider section of the Room furniture component, drag in the furniture items main collider. This should be done for all furniture uploads. If your furniture item does not have a collider, you can add a box collider to it by clicking on 'Add Component' and search for 'Box Collider'. You can then adjust the box collider to fit around the item. There is also the option to 'only enable collider during editing'. This should be checked if normally the collider should be disabled, e.g for particles or lights.

Roomfurncol.png

5. Next is Transform Controls. In here, you can check the 'Allow Scale' box if you want users to be able to scale the furniture once they place it in their room;if not, leave it as it is.

6. In Appearance, there is the Icon Position. This is the position of the blue arrow (action tag) which hovers above the furniture for users to click on to enable them to sit on the furniture.

Uploading the furniture

1. Underneath the Room furniture component in the hierarchy, you will see an 'Add Component' button. Click on this, and search for Virtual Good. Add this.

2. Once the virtual good component is added, under Basics, set the Type to Furniture then the Category to the appropriate category.

Furniturebas.png

Fill in the rest of the virtual good component with the information for your item and then upload the item to Sinespace.