0 votes
add_child(player_instance)
player_instance.global_transfrom.origin = Vector3(0, 15, 0)
                            problem here

can you help me plz i am makiing 3d multiplayer sword game and i am tring to make like host and join thing when i press them this error pops up

in Engine by (35 points)

1 Answer

0 votes

You have spelt global transform wrong.

by (2,017 points)

The line

player_instance.global_transfrom.origin = Vector3(0, 15, 0)

should be

player_instance.global_transform.origin = Vector3(0, 15, 0)
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 Frequently asked questions and 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 [email protected] with your username.