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

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 Image(s)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Instantiating Prefab on the spline for infinite track hjk27 3 635 08-02-2018, 12:51 PM
Last Post: _Aka_
  Re-spawning spline rigidbody nibab 0 806 10-21-2016, 06:47 PM
Last Post: nibab
  Re-spawning spline rigidbody nibab 0 771 10-21-2016, 06:39 PM
Last Post: nibab
  Need help with an infinite runner game using Curvy Plugin. ajaykhara 5 3,625 06-19-2016, 07:44 PM
Last Post: Jake

Forum Jump: