I am importing an RBD bullet sim out of dops as points. Those points have orient and pivot attributes to work with the Transform Pieces sop to retransform my input geometry, which is working great. However, I am going to use those points to instance geometry through another program, and that program only uses an @orient attribute and not @pivot.
My question is, is there a way I can alter my orient attribute so that I don't need the pivot? I tried methods such as creating a new orient attribute using the fulltransform primitinsic from the output RBD, copy that onto the output points, delete the pivot, and then used Transform Pieces to check my rotations and they were a bit off. I also tried subtracting the pivot from the position. Is there a better way to do it?
In short, how can I get correct rotations on my points from dops without a pivot attribute?