Skip to content

Spawning a child entity in or after POST_UPDATE won't be properly registred as child of the parent #891

@lassade

Description

@lassade

Bevy version
0.3 (commit fae6287)

Operating system & version
Fedora 31

What you did
Spawn a child entity during or after POST_UPDATE stage
You should only use the spawn function and then manually add the parent ...

What you expected to happen
The entity GlobalTransform should reflect it's parent movement

What actually happened
The entity was sitting still in the origin (0, 0, 0) while it's parent was moving around

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions