Path-Creator
Path-Creator copied to clipboard
Missing features to get the reverse path directions/reversing path motion?
Hi, While I understand that this could be mostly a "follower" issue, I wasn't able to find:
- a function returning/exposing the length of the bezier path (or the segment path)?
- A way to determine the direction in a path (1 or -1), based on the traversed length in a ping-pong endOfPathBehaviour (solved).
- A way to determine the quaternion in a path, based on the traversed length, with an extra parameter defining one of the 2 directions.
- A way to "flip" the path default direction (changing the actual path and node ordering, maintaining the shape, but having the first node at the end)
- A way to trigger events as soon as a path node (bezier) is reached?
- A "reverse" flag on the follower.
I am still tinkering with this, but maybe something has another name, or it's already there?
About the direction, I'd prefer not to do any expensive or per-frame check, as I have quite some followers in the path (some sort of traffic system).
Could you please point in the right direction, are these features actually missing?