Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shape extrusion "range" changes in run time to "length"
when I set up an extrusion range, sometimes in run time it will change from "range" to "length", using the end float number.

This only seems to happen when I close the spline, open splines are fineĀ  Huh

[Image: Screen%20Shot%202017-12-19%20at%2019.44.28.png]

to this

[Image: Screen%20Shot%202017-12-19%20at%2019.46.31.png]

this makes the extrusion 0.75 of the track length instead of 0.25

The pictures you attached to your post are available, so I will answer based only on what I understood from the text:

Depending on if the spline is open or closed, the definition of a valid range differs. For a closed spline, looping inside the spline is possible, so values above 1 (0 being spline start, 1 spline end) are valid. So you can have a range from 1.5 to 1.8, or said otherwise, a range that starts at 1.5 and has a length of 0.3.
For open splines, only values between 0 and 1 are valid, and the length should not be bigger than 1 - start
To reflect the difference on valid ranges, the range property drawer behaves differently whether the spline is open or closed.
It is true that the range property drawer can be improved to make this logic obvious. I will add this to the backlog.

Thanks for your feedback
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Yes this is changing a spline from open to closed in run time.

For now I'm checking the state of the spline and if it gets closed I change these values in code to make sense again.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing range affects generated mesh GameJazz 10 32 12-15-2022, 08:28 AM
Last Post: GameJazz
  Inaccuracies with offseted Shape Extrusions MichaelMenzi 6 11 12-14-2022, 10:22 AM
Last Post: _Aka_
  Is there a way to set the range to be 0 To 30 + 70 To 100? Chanon 1 5 11-24-2022, 05:09 PM
Last Post: _Aka_
  Efficiently chopping up a build extrusion? blabz2007 2 9 08-05-2022, 10:43 AM
Last Post: _Aka_

Forum Jump: