Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
runtime road creation
#1
hi! i am absolute noob with this asset and im little bit lost. can anyone give me a hint on how to create roads on runtime. im working on fps game and i want to plant some roads like in this video at 07:04 https://www.youtube.com/watch?v=J_Dznt1OG-0

i have an fps controller which raycasts to ground point and i want to set road starting point on first click and end point on second click and then continue the road in third click.. or something like that Big Grin

thanks!
Reply
#2
Look at the CurvySpline methods Add, InsertBefore and InsertAfter. Also take a look at the example scenes, a lot of them do create splines at runtime.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Assigning "OnControlPointReached" and "OnEndReached" values during runtime? TenaciousLibbs 2 2,028 02-18-2021, 01:12 PM
Last Post: PretzelStudios
  Runtime Optimization mirts 1 79 02-11-2021, 07:37 PM
Last Post: _Aka_
  Road - is it even possible? kpulka 1 107 02-07-2021, 09:43 PM
Last Post: _Aka_
  Subdivide in runtime? Spectra 3 452 10-07-2020, 08:28 AM
Last Post: p30better

Forum Jump: