Thanks to visit codestin.com
Credit goes to github.com

Skip to content

impl AnimationBuilderExt for EntityWorldMut / RelatedSpawner<ChildOf> #69

@mirsella

Description

@mirsella

hello !

this would allow easily adding animations when using the Children component (and so children![] macro)
use case:

let bundle = (..., Children::spawn_with(|mut p| {
	p.animation() // impl on RelatedSpawner
	p.spawn_empty() // animator as child, using EntityWorldMut impl that this spawn_empty return
});

and what about directly a component that insert the animation ? instead of using entity commands

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions