Getting CFrame of Parts during Animation

I have an animation being played on a Humanoid. During this animation, I would like to shoot a raycast from the base of the Characters Hand to a desired direction. Unfortunately, the CFrame and Position values do not seem to update while Animations are played. Is there a simple way to get the CFrame or Position of a Body Part attached to a Humanoid, taking into account that Humanoid’s Animation?

2 Likes

I believe what you’re looking for is this:

http://wiki.roblox.com/index.php?title=API:Class/Motor6D/Transform

Should be able to use it to get the animation positions of individual joints given you know their Motor6Ds.

9 Likes

Thank you!!!