I’m experiencing an annoying jitter when combining animations with Layered Blend Per Bone, in UE4.26. I have no idea what is causing it.
I ported the same project to UE5.44 and the issue doesn’t appear there. UE5 is dreadfully slow on my machine, so going forward with that isn’t an option.
Does anyone know what may be causing it? I’ve spent a week trying to pinpoint this issue, but I’m getting nowhere and I’m out of ideas. I’m going to try 4.27 next.
I’ve noticed that the further I get from the world origin, the worse the jittering becomes. At the centre of the map, the jittering disappears. This behaviour is present in both 4.26 and 4.27. Odd.
Hi!
Try resetting the world origin when the jittering starts using the command “SetWorldOrigin” which sets the origin to the player’s current location, or use the function “SetWorldOriginLocation” with the current actor’s location as input like this: “GetPlayerPawn>GetActorLocation>Truncate(Vector)”.
Keep in mind that finding the best distance depends on the type of game.
After a bit of soul searching, I’ve decided to build a new rig and port my game to UE5.
Just priced all of the components. Oof.
It’s nearly twice what I paid for my last machine. It’s more than I paid for my car.
This is going to hurt… I need a lie down.
It is indeed the floating point precision issue. You could try creating an actor with a box collision, and call a function that resets world origin on event BeginOverlap of the box collision, if this worked you can add 4 box collisions to cover your level from all directions, something like this:
If your level is large or procedurally generated then it’s better to add these box collisions programmatically on the Construction Script (where you would first reset the actor’s world location to 0 so that it’s always in the center, then add 4 box collisions after a specified distance from the origin, then you could specify the number of “Areas”, where the first Area is the 4 boxes added after the distance from origin, and the second would be 4 extra boxes added after the same distance, but from the previously spawned boxes, and so on.)
Regarding UE5 being slow on your current machine, You could try turning off Lumen (from project settings or PostProcess volume), setting the framerate to 40-50 fps and setting the Scalability to Low/Medium. Hopefully this would allow you to continue with the development of your project while building your new rig more comfortably.