What do you want to achieve? I need to convert an accessory weld’s c0 rotation into the equivalent c1 rotation, which can then be applied to the c1, leaving the c0 rotation blank.
What is the issue? I have no idea how to do this, and the things I have read, I
did not understand.
What solutions have you tried so far? I’ve looked through some developer forum posts, but i’ll be fully honest, I don’t really understand them. I found something that could be of use but I was unsure how to apply it at all.
(If I did this post right), there’s an image of my accessory below, with the weld and the C0 of the weld that I need converted. Any and all help is greatly appreciated
You mean, translate this, into this, so C0 Orientation becomes 0,0,0
And C1 is the one with the orientation?
Both are essentially the same, its just the opposite, if you have Y -90 on C0, just set the C1 orientation Y 90 negative to possitive.
But… Im wondering what happens with X and Z, Im gonna test it
The fixed rotation is working, however this breaks the positions of accessories. Is there a way to do it somehow without changing the position of the welds/accessories at all?
Edit: I figured it out. Thank you so much!
Final code: