Get part CFrame when it's rotated with a motor6d by script

The title says it all: when I rotate a part by script, for example, leftUpperArm of an r15, with its motor6d.C0, in this case, leftShoulder.C0, the CFrame of leftUpperArm doesn’t update, stays on the default, how do I calculate it based on the C0?

local leftUpperArmCFrame = ????

Remember that leftUpperArm.CFrame only returns the default CFrame, so it doesn’t work, but maybe it can be used as base for some kind of operation involving leftShoulder.C0 to find the actual leftUpperArm CFrame (I’m trying to discover what operation is this)

Now every part is updating their CFrame except the r15 hands.

Solution:

My code was trying to get the CFrame of every body part for every keyframe of a keyframe sequence, the parts that weren’t “updating” their CFrame just didn’t have a registered keyframe on the animation editor.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.