after several tests, I can confirm that neither speed nor angle affect sprite offset.
I've also tried removing all YEP SV Battler parameters (Floating, Sprite scale,...) and that doesn't change anything either.
At the end of any enemy rotation, regardless of whether it's jumping or floating (even though the effect is even more visible), I get the impression that :
- during rotation, the CENTER of the sprite is the axis of rotation
- at the end of the rotation, it's the BASE (bottom center) of the sprite that becomes the rotation center.
EDIT after testing on .js
I'm not good at JS but I test things. The piece of code that allows the sprite to turn on itself without turning around the base is this:
Sprite_Battler.prototype.updateFloat = function()
(line 187 - 210)
(I don't know if I was allowed to post the whole code part)
when I deactivate this part, the sprite rotates according to its base, not center.
But I have the impression that this part is active during the sprite rotation animation, but no longer on the final render, which creates the offset after the end of the rotation.
I hope that if I don't have the skills to fix the problem myself, I can help you save time with tests...