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 Thumbnail(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 Thumbnail(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
  Skip Input Mesh if spline has too much bend Zilk1 3 5 09-27-2023, 09:45 PM
Last Post: _Aka_
  animating points on a spline Antonio 11 18 09-17-2023, 09:55 AM
Last Post: _Aka_
  Getting object on spline Position when Spline has coordinates larger than 2000 velikizlivuk 5 8 09-05-2023, 01:01 PM
Last Post: velikizlivuk
  Spline.Length not updated unless I add a point to spline (or modify it) first. _RicO 3 6 08-26-2023, 08:41 AM
Last Post: _Aka_

Forum Jump: