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
  How can I remove one segment of the road that I made by spline? Chanon 3 7 09-14-2022, 04:44 PM
Last Post: _Aka_
  How to assign a Volume to a controller at runtime using API _Aka_ 0 4 07-19-2022, 11:17 AM
Last Post: _Aka_
  Connect two spline at runtime Doomchecker 2 15 05-18-2022, 04:12 PM
Last Post: Doomchecker
Exclamation Runtime error when using Curvy Generator with Game Object Deform studentloan 3 14 04-22-2022, 09:00 PM
Last Post: _Aka_

Forum Jump: