ScriptSpot

Forum topic · General Scripting

getting animation key information

By dgu · 2013-04-07

Description

Dear Team

i have an animation from frame 0 to animationRange.end let s say.

i am loopinp over the keyframe and getting rotation matrix but i wish to have the position any idea ?
for f = animationRange.start to animationRange.end do
(
-- set MAX time slider to current frame
sliderTime = f
local tmR = $Box002.transform.rotationPart
)

thanks in advance

david

Comments (1)

answer is

dgu · 2013-04-07

format "%:\t%\n" "position " source_obj.pos