Versy
I had written a wall of text to help you debug the issue more effectively, but then I took a closer look at your screenshots and spotted the actual cause.
The code I shared in my previous message was meant to replace only the Step
variable calculation in your original custom code. The rest should have remained unchanged. That's on me—I should've pasted the entire function for clarity.
You're calculating Step
, but you're not using it. You need to replace the usage of DeltaTime
with Step
.
Specifically, update these two lines:
state->update(DeltaTime); → state->update(Step);
...
skeleton->update(physicsTimeScale * DeltaTime); → skeleton->update(physicsTimeScale * Step);
This explains why Misaki and I weren’t able to reproduce your issue. Hopefully, this finally resolves it!