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.

Bug Done Found in 0.9.300.5 Fixed in 0.9.307.0
Sandbox View

2 Comments

  • Log in to leave a comment
  • Profile image

    Great bug report. This will be fixed in the next update. Also, you were right, this was an optimization bug.

    4.6 years ago
  • Profile image
    Mod sflanker

    This is reproducible in 0.9.205.0 as well.

    4.6 years ago

3 Upvotes

Log in in to upvote this post.