Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Infinite Runner Spawning Assets
#1
Hello!,

I have a question about spawning objects on top of curvy's generated mesh. Before I continue I just wanted to say Curvy is an excellent tool! I am now able to do things that I did not think possible previously. Right now Im using the infinite runner example you provided and I have made some modifications to suit me needs. One thing I would like to do is spawn meshes (trees, rocks, buches ect) on top of the generated mesh at certian points. for example I would like to spawn coins 1 unit above the path of the player traveling across the spline but  environment assets to the sides. I drew up an example of what I am trying to accomplish:

[Image: attachment.php?aid=96]

I wanted to get an opinion on the best/optimized approach this functionality. The primary issue is that it needs to be random( not repeated in same areas) but constrained to fixed areas (Don't want trees spawning in direct path to player, and don't want spawning underneath level lol). Any type of help would go a long way, Thank You!


Attached Files Thumbnail(s)
       
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can I change splines directly on runner controller via script? sikamaru 1 11 03-12-2022, 08:40 PM
Last Post: _Aka_
  Objects Spawning in Runtime Kuxii 5 3,173 03-25-2020, 03:06 PM
Last Post: _Aka_
  Spawning object with correct rotation at spline end arrnav96 2 3,285 05-21-2019, 02:19 PM
Last Post: arrnav96
  Instantiating Prefab on the spline for infinite track hjk27 3 4,931 08-02-2018, 12:51 PM
Last Post: _Aka_

Forum Jump: