wiki.sine.space | sinespace

Room Floor System

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

Jump to: navigation, search

You can use the room floor system to create a region you can edit from inside Sinespace. This is mostly used for making home regions where users will want to decorate.

EDITING IN PROGRESS

1. Have your region set up in Unity. Click on GameObject at the top of Unity and then click 'Create Empty'.

Createemptyfl.png

2. Change the transform of the empty object to the position of 0,0,0 if it is not already set to that. You can also rename the empty to something like 'Room Floor' to make it easier to find in the hierarchy.

Inspectortrans.png

3. In the hierarchy, click on the empty object you just created, and in the Inspector window on the right, click on Add Component. Search for 'Room Floor' and add it. You will see this in your Inspector window.


Roomfloorscript.png


4. Add a name into the Name box. This name will be visible to users buying your template if you decide to sell it in the Shop.

5. Add a description into the Description box. This description will be visible to users buying the template if you decide to sell it in the Shop.

6. In the Furniture Quick placement, change the size to the number of floor areas you want in your region. For one area such as one room, change the size to 1. If you are making a house or anything else with levels, you will need to change the size accordingly. The collider to put here will usually be on the 3D object you used as the floor; You can simply drag the whole 3D object from the hierarchy to this box, and it will automatically add the collider.

Furniturequickele.png


Furniturequick3.png


7. Create another empty object and name it camera target. If you see a dropdown arrow next to room floor in the hierarchy, the camera target object is parented to it. You need make this a single object by dragging it down.

Roomcamfl.png


8. Once this is unparented, make sure in the Transfrom under the Inspector window that the camera target is set to the position of 0,0,0. This is used so that the bird eye camera can look down on this object, making it easier for users to edit from top view.

9. Drag the camera target object into the Focus box under Camera and Focus.

Cameratarget.png

You can leave the Default Zoom from Focus as it is.

10. The Constrain Focus to Area is an optional setting. If you want to constrain the camera to an area, you will need to add a box collider above the ground collider. To add a box collider, make a new empty object and name it Constrain. Drag this collider into the

Make sure it is above the ground collider and not intercepting it. This collider will go around the area, as shown in this example.

Constrainexm.png

If you have multiple levels or multiple buildings, you can add more Room floor components to define different areas.

These steps are also covered in our Private Room Template tutorial video.

11. Subletting allows you to share the space with other users. You can