Given a custom expression that takes a vector and returns a new vector swapping the Y and Z dimensions, if I use that custom expressions on two distinct input vectors (in this case position and velocity) and pass the results to the cross product function I always get (0, 0, 0) which is crazy. If I replace one of instances of the custom expression with an identical copy with a different name everything works fine.
Custom expression used multiple times as input to another expression does not work correctly.
Mod
sflanker
4.6 years ago
Great bug report. This will be fixed in the next update. Also, you were right, this was an optimization bug.