When I disable this node, or remove it, the glitch goes away. So, I was wondering if this is actually the cause, and if it is, if there is a way to mitigate or eliminate the issue.
so when the train is moving, it actually on the new landscape right ?
it might have some something to do with colliding with the mesh inside the char or something affecting the state machine code(if any in your anim bp) when stepping into the new landscape.
I see. No, the train is not moving (yet), nor is the character colliding with the landscape, because they are underground.
Everything is motionless.
What I’m streaming in is a level that is quite far away. Also, I suppose the Collision Capsule is difficult to see, however, it doesn’t move; only the mesh moves.
(FYI, when the train does move, there is no issue. I don’t stream levels in during fast movement. I try to do it only when the character is in a slow or static delta positioning.)
I tried using the default animations, and while the bug is still there, it is MUCH less noticeable.
You’ve absolutely put me on the right track, because I’ve figured out what’s happening:
When a level is streamed in, all animations are reset to their default first frame before the character’s Montage (or I suppose, Animation Slot in the Animation Blueprint) is able to update from their most previous pose.
Or, more simply put, streaming in a level hitches/interrupts the Animation Blueprint of a character for a few frames, and the Engine temporarily loses track of that Character in space, until the most recent previous pose can be retrieved.
The reason my character “jumps” in the first video is because I edited that animation to be 6cm higher on the Z-axis, so that they would fit the seat:
Those 6 centimeters are added again, because the most current pose of the Character is delayed, so it uses the default framing. The Character returns to normal when the cached pose can be retrieved and processed again.
(I’m over-explaining not for you, but for others who may come across this…)
Now the question is how to mitigate/eliminate this?