Buildable Free Object
Last updated
Last updated
This component handles all the Buildable Free Object functionalities. This component must be added to the Buildable Free Object prefab's parent.
Property | Function | Required |
---|---|---|
It's Recommended to read about the BuildableFreeObjectTypeSO asset to get a better understanding on how Buildable Free Objects Type SO can be implemented.
To use this component simply add this to the buildable free object prefab parent. Then add the BuildableFreeObjectTypeSO asset, that this object owns.
NOTE: Read this quick guide to see Automatically Setting Up the Pivot and Scale.
As shown in the image above Buildable Free Object component was added to the parent of the buildable free object prefab and also, the BuildableFreeObjectTypeSO asset was added to the field.
You can find example implementations of this component in all the pre-made buildable free object prefabs located in EasyGridBuilder Pro > Prefabs > Buildable Free Object Samples.
Buildable Free Object Type SO
BuildableFreeObjectTypeSO asset that this buildable free object owns.
Yes
Rotate Object For XY
Rotate this object automatically in Grid Axis XY
No
Rotate Object For XZ
Rotate this object automatically in Grid Axis XZ
No
Calculate Pivot
Automatically calculate the object's Pivot and Scale
No
Rotate Scale & Pivot For XY
Rotate the custom Scale and Pivot, to the XY axis
No
Object Scale
The scale of the object
Yes
Object Center
The offset of the object's Scale
Yes
Object Custom Pivot
The custom Pivot position of the object
Yes