Invalid get index 'global_transfrom' (on base: 'KinematicBody (Player.gd)').

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ragacakaci
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

:bust_in_silhouette: Reply From: magicalogic

You have spelt global transform wrong.

The line

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

should be

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

magicalogic | 2023-01-07 13:29