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
  Keeping a fixed spline length jh092 3 16 02-21-2024, 06:25 AM
Last Post: Primrose44
  Curvy discards Input Spline Range VoltDriver 3 5 11-28-2023, 07:14 PM
Last Post: _Aka_
  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_
  Fading in/out extrusion mesh of a spline? _RicO 3 5 07-25-2023, 09:40 PM
Last Post: _Aka_

Forum Jump: