+1 vote

Hi , i have a little game in wich rigidbodies get spawned (instanced scenes) under the node "Humans".

scene tree:

  • Main (Node)

    • Bodies (Ysort)

      • Humans (Ysort)
      • Other objects...

Everything gets sorted perfectly except for the instanced scenes... Does anyone know a fix for that?

in Engine by (44 points)

the instanced scenes are not working with Humans yet working with themselves or not working at all?

have you tried instancing everything under the same Ysort(including the humans, so they all have the same parent)?

The instanced scenes are working correctly. They only don't get sorted...
They get spawned as a child of the ysort "Humans".

1 Answer

0 votes

Wow, Ive been playing around with ysort for over an hour now thinking that maybe a project setting or script was messing with it I completely over-looked this.

Is this a bug? or is there some real reason why this doesn't work because this just complicates things...

I just opened a bug on github ill let you know what the reply is.

by (18 points)
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.