The "walking flames" bug
Posted: Tue Jun 06, 2017 4:07 pm
My engine has a stupid bug, which also showed up from time to time in Makaqu: translucent static MDL entities starts slowly moving in a fixed direction. Sometimes their position is also affected by the camera position & angle, sometimes it's not.
The question is simple: how to make them stay quiet where they're supposed to be? What could be incrementing/decrementing their x/y position?
Their height always stays the same, by the way. It's only the x and/or y position that moves, which makes this bug even weirder.
I've made sure that the entity's ->origin, ->origin1 and ->origin2 are identical in CL_ParseStatic, and I'm also resetting the positional interpolation on every frame, so the positional interpolation isn't the cause.
The question is simple: how to make them stay quiet where they're supposed to be? What could be incrementing/decrementing their x/y position?
Their height always stays the same, by the way. It's only the x and/or y position that moves, which makes this bug even weirder.
I've made sure that the entity's ->origin, ->origin1 and ->origin2 are identical in CL_ParseStatic, and I'm also resetting the positional interpolation on every frame, so the positional interpolation isn't the cause.