[Solved]GUI Nodes shake when in motion?

[Solution]
Due to having a larger “body” node that other nodes were attached to pivoted to the center, there was a .5 pixel gap that was left between the body and the parts - I had closed this by offsetting each part’s y value by .5 pixels.

The complete fix was to change the “body” node’s pivot to south, which removed the gap, followed by removing the .5 pixel offset and moving the parts back into place with non-partial values. After this, the shaking stopped.

[Original question]
Hey folks,
I don’t know if this is intended behavior or not, but it seems like when a gui has a somewhat large hierarchy, any kind of motion (either through GUI animation or an animation group) causes spastic shaking for the node.
I have a series of nodes that are 5 parents deep: A node that controls screen shake > a node that controls zooming and panning > a node that characters are displayed/moved around on > a specific character > a target indicator for that character. Moving that target indicator makes it shake and wobble.
I recorded a gif of the shaking nodes, followed by stable nodes. (quick warning: some gorey visuals)

If I move that node up by 1 parent, the shaking stops - if I give a node with 4 parents a fifth one, the shaking starts.
Is this possibly a project setting, or something from the parent nodes that inherently cause it? or is this expected and having 5 generations of gui node parents is just deranged?

Edit: Here’s the outline hierarchy and the highlighted problem-nodes, in case that’s helpful

Could you please share a minimal project where this can be seen?

Here ya go!

I was not able to reproduce it in your example. I did notice that you have some nodes on half pixels. Perhaps that’s the reason?

2 Likes

Oh my god it was entirely the .5 pixels on those gui nodes - I set the nodes to non-partial values and everything moves smoothly now, thanks!

[Edit]: Updated the title with solved and also changed it to be a bit more general since the parent amount had nothing to do with it - added solution steps to the main body. Thanks for the eagle eye, Britzl!

1 Like