UseStrafingAnimations bug

I was messing around in studio when I found the “UseStrafingAnimations” property in the Players datamodel, I believe I saw this a long time ago but never got around to using it, and I decided to test it out and see what it does, at first it did nothing until I noticed a warn in the output:

“Strafe blending disabled. Run and walk must be strafing-friendly.”

I debugged it, and found that the Walk Animation Instance does not have a LinearVelocity attribute:

If this is a bug on Roblox’s end please fix this, I fixed it myself by adding the LinearVelocity attribute to enable strafing.

2 Likes

Ok so a new problem arised:

I inserted the LinearVelocity but Roblox was overwriting the animation instances so the LinearVelocity would be nil, I simply ran this string of code at the start of my Animate script and now it works!

image

Also, may I ask why the programmer who scripted this didn’t script the Linear Velocities in as an equation? It just seems easier to debug than having to update the Animate instances for any change in walk & run speed.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.