02-22-2021, 09:06 PM
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 ?
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 ?