Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spot generator range change
I have spot generator that spot object along spline. every thing is working just fine, however I need to make the spot generator create as few objects along the spline. so i came with the idea of give the volume module specific range while the player is moving along the spline.

for ex. when player start on spline the volume spot range is 0-0.25. when he reaches specific distance the range will be 0.25-0.5 and so on. I noticed something i didn't able to fix, When i change the range of TO value it will remove object as intended and will show the spotted object within that range. But  when i change the From value the whole spotted objects are moving along the spline and it ill not discard or remove object that are positioned on range less than from range. it will move object that was on the beginning of range 0.

The volume spot is modified to get the wanted result and here are my changes:

-the volume spot is connected to spline curve through rasterize path module and its range is set to 0-1
-volume spot contains only one group and that group is simple sprite that i need to randomly place along the spline
-in that group i modified the space before -5 to 2, and space after 2 to 10, rotation 90 on y and set to horizontal , scale 0.75 to 2.5

On last question please Keep together bool in volume spot . What is it for? and does it mean it will spot multiple objects near each other ?

Messages In This Thread
Spot generator range change - by Mos Def - 02-22-2021, 09:06 PM
RE: Spot generator range change - by _Aka_ - 02-23-2021, 01:14 PM
RE: Spot generator range change - by Mos Def - 02-23-2021, 09:10 PM
RE: Spot generator range change - by _Aka_ - 02-24-2021, 06:30 PM
RE: Spot generator range change - by Mos Def - 02-24-2021, 07:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to change the mesh inside the generator elitegorgong 5 174 04-03-2021, 04:53 PM
Last Post: _Aka_
  save spot generated gameobject to scene fortune53 1 89 03-18-2021, 06:25 PM
Last Post: _Aka_
  Error while making prefab having curvy Generator script User2200 3 223 03-15-2021, 07:16 PM
Last Post: _Aka_
  Combine splines of different interpolation for use in generator leeharris 3 214 02-28-2021, 07:27 AM
Last Post: _Aka_

Forum Jump: