I think the title is self explanatory, but I want to move Motor6D.Part1 to a CFrame in World Space using Motor6D.Transform. This needs to be done while Motor6D.C0 and Motor6D.C1 can be any CFrame value, and assume they can’t be changed, because I want to use key framed animations at the same time on the Motor6D.
I can’t find any documentation on this or any previous topics. I have tried offsetting Motor6D.Transform by Motor6D.C0 and Motor6D.C1 in multiple different ways, yet no dice. I’ve been trying to work it out on paper but the matrix math is a little beyond me and I don’t have a robust understanding on how Motor6D.Transform works.
To be more precise, I’m trying to add a procedural recoil animation for weapons. I am updating every PreSimulation, but the CFrame is being offset somehow by C0 and C1, or by some other factor I’m unaware of. This is leading to the Transform making arms levitate, and all sorts of goofy things.
Yes, I’m not touching either of those values. But the default C0 and C1 for some of the Motor6Ds are not CFrame.new() or something similar, causing the Motor6D.Transform I set to be offset.
Well yeah?That what transform does?
formula is somewhat C0*C1:Inverse()*Transform afaik
Obviously it will start from product of C0 and C1 and not CFrame.identity