wiki.sine.space | sinespace

Difference between revisions of "Room Floor System"

From wiki.sine.space
Jump to: navigation, search
Line 53: Line 53:
  
 
11. Subletting allows you to share the space with other users. This will be a feature in the near future.
 
11. Subletting allows you to share the space with other users. This will be a feature in the near future.
 +
 +
12. Placement Restrictions allow you to restrict placement of items in certain places. If you check this box, and then enter a number in the Size box, this will give you element box with a Collider. For example, if you have built a house with a roof on it, and you don't want users to be able to place items on the roof, you can drag in the roofs' main collider here, and this will disallow placement of items. You can set up multiple areas for restricted placement by changing the Size (e.g from 1 to 5).
 +
 +
[[File:Placementres.png]]
 +
 +
==== Configurable Buttons ====
 +
There is an added setting for use within the Room Floor system which allows you to set up configurable buttons. These configurable buttons allow you change certain aspects of the room, such as allowing you to open and close curtains, change from night to day and other settings.

Revision as of 05:41, 2 January 2019

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. This will be a feature in the near future.

12. Placement Restrictions allow you to restrict placement of items in certain places. If you check this box, and then enter a number in the Size box, this will give you element box with a Collider. For example, if you have built a house with a roof on it, and you don't want users to be able to place items on the roof, you can drag in the roofs' main collider here, and this will disallow placement of items. You can set up multiple areas for restricted placement by changing the Size (e.g from 1 to 5).

Placementres.png

Configurable Buttons

There is an added setting for use within the Room Floor system which allows you to set up configurable buttons. These configurable buttons allow you change certain aspects of the room, such as allowing you to open and close curtains, change from night to day and other settings.