Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Placing multiple objects on multiple splines
#1
Hello!

I have multiple splines and need objects placed on each spline with some space. I initially used InputGameObject->BuildVolumeSpots->Create GameObject for that. But that created one GameObject for one object which really dragged down the performance. So I figured that It would be better to do it with InputMesh->BuildVolumeSpots->Create Mesh and set the combine property to true. 

But using this method only the first spline of all splines which are using the same CreateMesh object has the the created objects on it. The others just don't have them (they don't spawn). I also checked the spots count of the other BuildVolumeSpots and they are all above 0. The links (connections) for all modules are fine as well.

Thanks for your help in advance!
Reply
#2
Hi,
I tried to do what you described but did not find any issue. I attached the scene that I tested with. If by looking at it you find that you configured something wrong, then problem solved. If not, then send me your scene so I can debug.
Have a nice day


Attached Files
.zip   Spot Meshes.zip (Size: 54.59 KB / Downloads: 1)
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
Hi,

thanks for the quick reply and for the test scene. But in your test scene you used two Create Mesh modules instead of one like I want to do it in my game. 

Could you try it again with just one CreateMesh module for rendering multiple meshes?

Thanks!
Reply
#4
Create Mesh module takes only one input of type Spots. So you will have to have multiple Create Mesh modules for now.
I will make a modification for the next update so that Create Mesh can take multiple Spots inputs. I will send you the modified code in you PM once it is ready.
Just FYI, modules that can take multiple inputs in the same slot are the ones that have a "[]" symbol (for array) next to the slot name.
   
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#5
Ok I see, thank you! Then there is a bug because I'm creating and linking the modules via the API and it let me link multiple OutSpots to the InSpots connection without errors and the generator diagram is also displaying it like it would work^^

Thanks for the upcoming update and your help!
Reply
#6
(03-02-2020, 08:49 PM)digot Wrote: Then there is a bug because I'm creating and linking the modules via the API and it let me link multiple OutSpots to the InSpots connection without errors and the generator diagram is also displaying it like it would work^^
The fix for this will be in the next update
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
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_
  making objects solid cielpandapie 1 3 10-18-2024, 12:17 AM
Last Post: _Aka_
Information New free asset: Converter For Dreamteck Splines _Aka_ 0 0 07-19-2024, 08:27 PM
Last Post: _Aka_
Information New free asset: Converter For Unity Splines _Aka_ 20 61 07-19-2024, 05:15 PM
Last Post: _Aka_

Forum Jump: