Hello everyone,
Recently, I believe around november, Roblox released an update that changed how blending animations worked on the platform.
My game uses animation blending for directional combat, and does so but blending two animations together in such a way that their weights are proportional to the direction the player aims their cursor.
The problem is after the update the animations behind it broke entirely and I have no clue how to fix the issue.
Here is a code snippet:
local function lightSwingAnim()
local angle = combatData.Angle.Value
if angle > 90 then
local overheadWeight = (180-angle)/90
rightSwing:Play(.15,1-overheadWeight,1.35)
topSwing:Play(.15,overheadWeight,1.35)
else
local overheadWeight = (90-angle)/90
leftSwing:Play(.15,overheadWeight,1.35)
topSwing:Play(.15,1-overheadWeight,1.35)
end
end
Thank you for your time, please help if you can