Character jitters when on a moving platform moved via a timeline, especially when timeline is stopped and resumed
Hi everyone, I've been using UE4 for a while now, started out with 4.7.
I'm now faced with a problem I know others had in the past since I searched the forums and the answer hub, and found some similar questions, but never with any solution, so far. I am still looking for solution myself, if I find anything, I'll post my findings here.
Simply put, I have a timeline with a float track. I send that float track into a lerp vector to move an actor to a specific destination, using the SetRelativeLocation in the update of the timeline. There's more going on around all that since I am making a standard "mover" I can apply to anything and move stuff around with. But for now, I think that's enough to understand how I am moving the actor.
The Moving Actor:
The actor is a VERY simply blueprint with 1 component, a mesh, not scaled nor modified, just a standard cube. it is scaled in the viewport afterward / But wether or not I scale it or not, the same problem occur. The actor that is moving can be stopped by shooting it, or if the sweep of the set location node is triggered -- So the timeline can be stopped and resumed at times.
When the character is on the moving actor, sometimes but not all the times (but many times.) the camera will jitters/studders as if the moving actor is jittering. This can happen anytime, but I discovered that stopping and resuming the timeline moving the actor will help reproduce the bug easily.
The platform itself is fine after looking at the scene from an external camera (ie A cam placed in the level and not in the character blueprint.) -- We can clearly see the character capsule jitters, and the platform is fine.
So the problem is the character, in essence.
Video to show the problem, on youtube: Youtube video
What I did already
Well, all I did was mainly on the moving platform, and I discovered later that probably I should check what I could do in the character. But I did play with FPS settings (Smooth, min and max, console command to set max FPS, set static FPS, etc), I did play with CCD, Sub-Stepping, collision settings, sweeping or not the actor, not stopping and resuming the timeline, nothing worked in the above.
Maybe there's a real solution out there, but even if not, maybe there's a workaround, maybe by playing with the camera or something, I will continue looking into the issue. If I find something, I'll let you know.
Thank you in advance for any help !
asked Jul 06 '15 at 01:58 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here