question of hierarchy

0 favourites
  • 8 posts
  • Why construct creates all child objects of the created object with hierarchy sometimes when spawning new objects, but sometimes not?

  • There is a checkbox "Create hierarchy" in Create/Spawn action.

  • There is a checkbox "Create hierarchy" in Create/Spawn action.

    yeah, what is strange, I do the same for 2 objects, the same settings of the objects, the same setting of the hierarchy on the scene, but, when I spawn one object, the construct creates a child object from the scene, on the same pos which as on the scene, but for other object, nothing. And I can't find any logic there

  • Check if the first object is part of a container.

  • Check if the first object is part of a container.

    I know about containers, but there are no containers, and all new objects that I had added as a child, through hierarchy, created after spawn parent object

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Well, there aren't many other options. It could be a bug of course, but I think it's unlikely.

    Are you using templates? Maybe when you create an object from a template, it's always created with its children.

    Or perhaps there is an event that creates the child object when the parent is created? It's hard to speculate without the project file.

  • Well, there aren't many other options. It could be a bug of course, but I think it's unlikely.

    Are you using templates? Maybe when you create an object from a template, it's always created with its children.

    Or perhaps there is an event that creates the child object when the parent is created? It's hard to speculate without the project file.

    yeah, that is a bug probably

  • Are the child objects on a different layer? Does that layer exist in all your layouts?

    If you are creating objects with children on layers that don't exist is some layouts it could have effects like you are seeing.

    Just something else you might want to check.

    yours

    winkr7

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)