I am trying to keep a character connected to the y value of the head of another character. If I just set the global position every physics frame it ends up very jittery. If I use a remote transform its smooth but then I can’t only set the y value. What is the remote transform doing that setting the global position every frame doesn’t? Is there a way to only set remote transform to affect the y value? Or can I make setting the position smooth somehow?
Are they both CharacterBody3D? Did you change the moving platform layers for either of these characters? The character underneath them may be detected as a moving platform, so Godot is trying to move the top character along with the bottom when move_and_slide is called, but then you are also changing the global position.
Unfortunately that’s not the issue. If I don’t link them with remote transform or fix their global positions, if the bottom one moves it just slides under the top one not affecting it at all.
The order of nodes in the matter. There will be difference in copying before either of them was regularly updated by the physics tick or after. Try swapping their order and see what happens.
Afaik, remote transform updates from NOTIFICATION_TRANSFORM_CHANGED handler so try mimicking that.
It was the order of the nodes that was the problem. I was changing their process physics priority to make the bottom one process first but I tried switching it after seeing your post. When the top one processes first, for whatever reason it appears smooth.