Sphere aligner is a component that has a list of child slots under <code>Items</code> and aligns those items into a spherical shape.
<!--T:2-->
<!--T:2-->
Line 12:
Line 12:
{{Table ComponentFields
{{Table ComponentFields
|AutoAddChildren|Bool| Controls whether slots below this component's slot in the hierarchy are automatically added to <code>_targets</code>
|AutoAddChildren|Bool| Controls whether slots below this component's slot in the hierarchy are automatically added to <code>_targets</code>
|Radius|Float|
|AutoAddIgnoreTags|{{RootFieldType|SyncFieldList`1|[[Type:String|String]]}}|TypeAdv1=true| Do not add slots to the list of children automatically if it's tag is contained in this list.
|DistributionOffset|Float|
|Radius|Float| The radius of the sphere to align items into
|AlignToNormal|Bool|
|DistributionOffset|Float| Shift the positions of the items along the sphere surface, redistributes.
|RotationOffset|FloatQ|
|AlignToNormal|Bool| Whether to rotate the items to align them to the surface of the sphere
|NormalizedStart|Float|
|RotationOffset|FloatQ| How much to rotate the sphere of aligned items by their individual origins
|NormalizedEnd|Float|
|NormalizedStart|Float| What point to start the alignment of items from top to bottom of the sphere.
|HorizontalStart|Float|
|NormalizedEnd|Float| What point to end the alignment of items from top to bottom of the sphere.
|HorizontalEnd|Float|
|HorizontalStart|Float| What point to start the alignment of items along the equator of the sphere.
|Items|SyncList`1|TypeString9=SyncList<Item>|
|HorizontalEnd|Float| What point to end the alignment of items along the equator of the sphere.
|Items|{{RootFieldType|SyncList`1|[[#Item|SphereAligner.Item]]}}|TypeAdv10=true| A list of items to align into the sphere shape.
}}
== Item ==
{{Table TypeFields
|Root|Slot| The slot this is pointing to.
|_position|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv1=true| <code>Root</code>'s position field to drive.
|_rotation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv2=true| <code>Root</code>'s rotation field to drive.