Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shape extrusion "range" changes in run time to "length"
#1
Bug 
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
Reply
#2
Hi,

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.
Reply
#3
thanks!

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.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Information [Quick and dirty] Shape Extrusion: interpolate between multiple Crosses _Aka_ 4 606 07-27-2018, 02:09 PM
Last Post: _Aka_
  Time based movement Livealot 3 407 07-17-2018, 11:26 PM
Last Post: _Aka_
  Calculate total time for spline to complete GenericJoe 1 438 05-29-2018, 01:23 PM
Last Post: _Aka_
Question Shape Extrusion at Runtime via script rdotfunky 3 1,692 04-13-2018, 10:36 AM
Last Post: _Aka_

Forum Jump: