View Code
Fn HasBoneAnimation inputObject =
(
local skinModifier,resultState
resultState = false
for tempModifier in inputObject.Modifiers where
(
Physique == ClassOf tempModifier or Skin == ClassOf tempModifier
)
do
(
skinModifier = tempModifier
boneList = refs.dependsOn skinModifier
for tempBone in boneList where tempBone.transform.isAnimated == true do resultState = true
)
resultState
)
HasBoneAnimation $