wiki.sine.space | sinespace

Difference between revisions of "Room Floor System"

From wiki.sine.space
Jump to: navigation, search
Line 6: Line 6:
 
1. Have your region set up in Unity. Click on GameObject at the top of Unity and then click 'Create Empty'.  
 
1. Have your region set up in Unity. Click on GameObject at the top of Unity and then click 'Create Empty'.  
  
[[File:Createemptyfl.png]]
+
[[File:Createemptyfl.png|400px]]
  
 
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.  
 
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.  
  
[[File:Inspectortrans.png]]
+
[[File:Inspectortrans.png|500px]]
  
 
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.
 
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.

Revision as of 11:24, 10 December 2018

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.


Adding the room floor component

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

Room floor component settings

Name

This is where you can add the name of your room floor. If you have made a bedroom, you can call this Bedroom, then add in a description.

Description

This is the description for the room floor.

Furniture Quick Placement

This is where you will need to drag in the placement colliders for the room floor. If you have made a simple room with just one floor area, you can set the Size to 1. If you have made a house or another building with more than one floor area, you can adjust the size to the size you need. Once you have put in the right size, you will need to drag in the colliders. Usually, if you have made the floor with a 3D object like a plane, the plane will have a collider attached to it. Simply drag the object you used for the floor into the Element box, and this will automatically add the collider.

Furniturequickele.png