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
  Making long roadmesh runtime migeg 8 111 2 hours ago
Last Post: _Aka_
  Letting users create and edit splines at runtime skote 1 112 07-12-2020, 04:49 PM
Last Post: _Aka_
  Null reference when spline controller added runtime jh092 1 181 06-19-2020, 09:21 AM
Last Post: _Aka_
  instantiate Spline Controller at runtime PretzelStudios 2 395 05-07-2020, 09:03 PM
Last Post: PretzelStudios

Forum Jump: