You can write your topic however you want, but you need to answer these questions:
-
I am trying to make my own Animation System using CFrames.
-
I switched to the CFrames in Poses and saw on the DevForum that roblox animation editor uses Motor6D.Transform
-
I haven’t found any solutions soo far.
for _,V in pairs(CharacterModel:GetChildren()) do
if(AnimationObject._Stopped == true) then return end
if(V:IsA("BasePart") and Table.Sequence["Start"][V.Name] and V:FindFirstChildOfClass("Motor6D")) then
local Tween = TweenService:Create(V:FindFirstChildOfClass("Motor6D"), TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), { Transform = Table.Sequence["Start"][V.Name]})
Tween:Play()
end
end
if(AnimationObject._Stopped == true) then return end
local Sequences = #Table.Sequence["Main"]
for i = 1, Sequences do
if(AnimationObject._Stopped == true) then return end
for LimbName,LimbCFrame in pairs(Table.Sequence["Main"][i]) do
if(AnimationObject._Stopped == true) then return end
if(CharacterModel:FindFirstChild(LimbName) and CharacterModel[LimbName]:FindFirstChildOfClass("Motor6D")) then
TweenService:Create(CharacterModel[LimbName]:FindFirstChildOfClass("Motor6D"), TweenInfo.new(Table.Sequence["Main"][i]["Time"], Enum.EasingStyle.Linear, Enum.EasingDirection.In), { Transform = LimbCFrame}):Play()
end
end
if(AnimationObject._Stopped == true) then return end
wait(Table.Sequence["Main"][i]["Time"])
if(AnimationObject._Stopped == true) then return end
end