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
Photo How can i assign spline at runtime lololToday 1 53 06-05-2019, 01:02 PM
Last Post: _Aka_
  Assigning "OnControlPointReached" and "OnEndReached" values during runtime? TenaciousLibbs 1 252 03-06-2019, 11:02 AM
Last Post: _Aka_
Question Shape Extrusion at Runtime via script rdotfunky 3 2,828 04-13-2018, 10:36 AM
Last Post: _Aka_
  how do I position a splineController on a spline in runtime to an exact position? hawken 8 5,070 01-19-2018, 12:01 PM
Last Post: _Aka_

Forum Jump: