Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline Shape not centering around Spline Path
#1
I am making some really long splines paths that are meant to form tunnels.

When I curve the tunnel to the right or left too much, the spline gets really close to edge of the mesh instead of being centered inside the shape.

Is there a setting to make the shape always be centered around the spine no matter how much the spline path stretches or twists around?


Attached Files Image(s)
   
Reply
#2
Hi
It might be because of the resolution of the shape extrusion is not high enough. In the Shape Extrusion module, try increase the the Resolution parameter in the Path tab. If the issue persists, and to rule out any resolution related cause, increase also the Resolution parameter in the Cross tab, and the Cache Density in the Spline's inspector.
If the issue is not resolution related, please send me a reproduction case.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
Hello,

I also have this problem. I have applied the advice you have given but without success.

Here are the screenshots of my unity scene to show you the problem.Thank you in advance for the time you will give to solve this problem.

Regards


Attached Files Image(s)
           
Reply
#4
Maybe the Rails game object is not centered? You can define an offset of that game object in the Input GameObjects module, or in the Tab "0:Group" of your Input Spots module. Let me know if this didn't help.
Have a nice day
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
  Get position on spline relative to world position Mos Def 5 120 05-10-2021, 07:35 PM
Last Post: _Aka_
  Circle shape spline normals are not straight ? VincentAalbertsberg 8 306 05-07-2021, 07:32 AM
Last Post: VincentAalbertsberg
Question Smoothly animate spline growth. boriskourt 3 172 04-26-2021, 08:29 AM
Last Post: _Aka_
  Create spline at run time AnAppGames 2 182 04-20-2021, 07:14 PM
Last Post: _Aka_

Forum Jump: