0 votes

So I need to change player's and AI's parents in online multiplayer, and doing it with removeparent() and addchild() does work.

However, doing it so causes some problems when calling rset_unrealiable() to update the player's position. It does work at the end, but the player flickers and rotates during the firsts seconds of changing its parent.

What would you recommend me?

The output

Godot version 3.3.2
in Engine by (12 points)

Rpc's seem to only care about nodepath so try to always follow the grandparent -> parent -> child way of rearranging nodes

The nodepath it's the same, however, during the frames it takes to change the nodepath in the client (I think) it get's a bit buggy.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.