Easy Grid Builder Pro Documentation
  • Getting Started
    • Introduction
    • Quick Start Guide
    • Render Pipeline Conversion
  • Walk Through Tutorial
    • Make 3D Build System (PRO)
    • Make 2D Build System (LITE)
    • Make 3D Modular House Build System (PRO)
    • Custom Build Conditions
    • Basic API Documentation
    • Auto Pivot & Scale Calculation
  • Primary Components
    • Easy Grid Builder Pro
    • Multi Grid Manager
    • Multi Grid Input Manager
    • Multi Grid Build Condition Manager
    • Multi Grid UI Manager
    • Grid Object Ghost
    • Edge Object Ghost
    • Free Object Ghost
    • Grid Object Selector
    • Buildable Grid Object
    • Buildable Edge Object
    • Buildable Free Object
  • Secondary Components
    • Buildable Object Area Blocker
    • Buildable Free Object Snapper
    • Quick Size Calculator
    • Spawn Effects
    • ToolTip
  • Scriptable Objects
    • Buildable Grid Object Type SO
    • Buildable Edge Object Type SO
    • Buildable Free Object Type SO
    • Buildable Object Type Category SO
    • Build Conditions SO
    • Easy Grid Builder Pro Inputs SO
  • Controller Components
    • WASD Camera Controller
    • Simple First Person Camera Controller
    • Simple First Person Camera Holder
    • Simple First Person Character Controller
    • Switch Controllers
  • Other
    • Patch Notes
Powered by GitBook
On this page
  1. Primary Components

Buildable Free Object

PreviousBuildable Edge ObjectNextBuildable Object Area Blocker

Last updated 2 years ago

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

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

To use this component simply add this to the buildable free object prefab parent. Then add the BuildableFreeObjectTypeSO asset, that this object owns.

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.

It's Recommended to read about the asset to get a better understanding on how Buildable Free Objects Type SO can be implemented.

NOTE: Read this quick guide to see

BuildableFreeObjectTypeSO
Automatically Setting Up the Pivot and Scale.