#Help with my game's structure!! Please

1 messages · Page 1 of 1 (latest)

eager heron
#

ray_cast is null

tall spear
#

Yes

#

And idk why

#

I am trying to instantiate my players from a script

#

And add them as a child to the world scene

eager heron
#

where are you setting ray_cast

tall spear
#

I added it as a child node for player scene

#

Here

eager heron
#

do you have any errors when running the game?

tall spear
#

Yes, it says the raycast is null and I don't understand why

eager heron
#

Can you show your scene tree

tall spear
#

Ok, please wait a minute until i turn on mi pc

#

Player's tree

#

Word scene's tree