Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
E21 - How to remove generator and still have the car to follow the spline
#1
Hey,

I started from E21 (Car following the road). 

I'm now trying to make a simpler static version without the generator but I want to keep exactly the same driving behavior.
I did "Save output to scene" to get the final mesh objects and also kept the original spline GO.

But as soon as I remove the generator there is no more volume to follow.

What I tried : 
I removed the CG Volume Controller on the "Controller" GO.
Replaced it by a Spline Controller and assigned the correct, original spline.
It kind of works, but as the volume info was lost the car is inside the road.  Adding an offset to display the car higher does not really help.

Is this even doable ?
Thanks in advance for your help!
Reply
#2
Hi
The volume controller needs a volume to work. If you use the spline controller instead, then you can move the object only along a path, or a tube if you use the spline's controller Offset parameters. For more complex volumes, you will need the volume controller. Of course you can make custom behaviors if you code your own controller, or own movement code, using the API, but I am assuming you question is about a solution that does not need additional coding.
Why not keeping the generator while removing its Volume Mesh and Create Mesh (Track) modules?
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 find the point on the spline after applying with offset angle+radius? Chanon 1 2 3 hours ago
Last Post: _Aka_
  Scale Deform Mesh Along Spline? / aligning colliders MamasToast 6 33 09-25-2022, 08:47 PM
Last Post: _Aka_
  Multiple Mesh Extrude Generator bakin 1 8 09-17-2022, 12:40 PM
Last Post: _Aka_
  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_

Forum Jump: