-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachments sometimes flicker for a frame #11991
Comments
sfan5 already mentioned somewhere that the model disappears for one frame when crossing a re-positioning border each 200m. Although I cannot find the correct issue #... |
duplicate of #10027 |
Yes, a very CONFIRMED issue. For examples:
|
There also is this recent thread on the forum that seems to deal with it. |
Needs retesting. |
I think I can explain what was probably happening here: The negative scale bug leads to wrong joint transforms (the 180° Y rotation). Attachments are off by one frame (#14818), so Sam looks correct, and the attachment looks wrong exactly as one would expect. It should be gone for certain once #15687 is merged (and not that it should be necessary, but I will touch that code again later to avoid calculating the scale from the transformation matrix at all by instead only calculating the matrix from the animated TRS properties). |
Minetest version
Summary
Animated models and attachments sometimes flicker for a frame. This is a "heisenbug" and hard to observe; the attachment issue appears to occur more frequently though. See this video. Watch key moments at 0.25x speed to see the bug.
Attachment bug (diamond axe temporarily rotated by 180° around the player model):
Steps to reproduce
MTG + wield3d or visible_wielditem mod, switch to 3rd person view, reduce viewrange, enable fast, run around.
The text was updated successfully, but these errors were encountered: