Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Volume Spots inter group distance
#1
Question 
When placing objects along a spline. Is there any way to control the distance between objects in the same group?
Example, we have 3 different size categories for rocks. And we've thus created a Input GameObjects node with a total of 9 game objects (3 prefabs in each category). And we've created three different groups with their own positioning and rotation setups. The only annoying part is that the "Space Before" and "Space After" seem to affect the group as a whole, I cant find a way to affect the spacing between objects in the same group. Am I missing something, or do I need to create a group for each individual source object?

Side question, when it comes to the Input GameObjects node, is there any way to change the bounding volume of the source object (via nodes or adding components to the source objects themself)?
Reply
#2
Hi
(02-26-2024, 12:12 PM)Sacryn Wrote: When placing objects along a spline. Is there any way to control the distance between objects in the same group?
Example, we have 3 different size categories for rocks. And we've thus created a Input GameObjects node with a total of 9 game objects (3 prefabs in each category). And we've created three different groups with their own positioning and rotation setups. The only annoying part is that the "Space Before" and "Space After" seem to affect the group as a whole, I cant find a way to affect the spacing between objects in the same group. Am I missing something, or do I need to create a group for each individual source object?


The solution I can think of is the following:
First, add spacing after your group. This will give us space to move the group's objects.
Then, go to the Properties section of the objects composing the group, and set a non zero Z value to the Translation property (in the Input GameObjects module). That way you can set manually the spacing between your group's objects.

(02-26-2024, 12:12 PM)Sacryn Wrote: Side question, when it comes to the Input GameObjects node, is there any way to change the bounding volume of the source object (via nodes or adding components to the source objects themself)?
You can add to your game object object a child object. The child will influence the game object's bounding box. To not display the child, disable its mesh renderer.

I hope this helped.
Have a nice day
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Photo Volume Spots problem with spacing Bond007 3 130 01-20-2025, 12:27 PM
Last Post: _Aka_
  Duplicate Volume references become null joebain 5 127 11-18-2024, 10:46 AM
Last Post: joebain
  Nested Spline Volume Spot Instantiation merobbins5 3 98 07-26-2024, 09:58 AM
Last Post: _Aka_
  How to use CG Volume Controller j95677 5 139 07-17-2024, 07:15 PM
Last Post: j95677

Forum Jump: