Path-Creator icon indicating copy to clipboard operation
Path-Creator copied to clipboard

Missing features to get the reverse path directions/reversing path motion?

Open NeatWolf opened this issue 4 years ago • 0 comments

Hi, While I understand that this could be mostly a "follower" issue, I wasn't able to find:

  1. a function returning/exposing the length of the bezier path (or the segment path)?
  2. A way to determine the direction in a path (1 or -1), based on the traversed length in a ping-pong endOfPathBehaviour (solved).
  3. A way to determine the quaternion in a path, based on the traversed length, with an extra parameter defining one of the 2 directions.
  4. 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)
  5. A way to trigger events as soon as a path node (bezier) is reached?
  6. 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?

NeatWolf avatar Nov 04 '20 09:11 NeatWolf