Posts: 22
Threads: 7
Joined: Aug 2023
Is there any way to just increase the spacing in between a group of game objects using the generator? All the spacing options seem to be for before/after the groups but not within the group themselves. The object.s mesh seems to determine their spacing. Any ideas?
Posts: 2,142
Threads: 95
Joined: Jun 2017
(08-31-2023, 11:28 AM)SAMYTHEBIGJUICY Wrote: Is there any way to just increase the spacing in between a group of game objects using the generator? All the spacing options seem to be for before/after the groups but not within the group themselves.
The Space Before and Space After parameters do define the spacing of objects inside the same group, and not between groups.
(08-31-2023, 11:28 AM)SAMYTHEBIGJUICY Wrote: The object.s mesh seems to determine their spacing. Any ideas?
Both the object's mesh and collider are considered when defining the bounds of an object. If using Space Before and Space After does not suit you, you can modify the collider to influence the placement logic.
Other than that, you can modifythe code to change the way the bounds are computed. To do so, modify the CGGameObject.RecalculateBounds method.
I hope this helped.
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.