Bevy How to Animate Multiple Different Characters or Scenes

Поділитися
Вставка
  • Опубліковано 8 вер 2024

КОМЕНТАРІ • 9

  • @hukasu
    @hukasu 7 місяців тому +1

    You can do the inverse and use `Query` which already has a function that iterates recursively over the children of children `.iter_descendants(entity)`

    • @snwdn
      @snwdn  7 місяців тому

      In my research I saw others suggesting this method. I believe it would work but you might end up iterating over more entities.

  • @JuanDavid-cb1ei
    @JuanDavid-cb1ei 9 місяців тому +1

    Just what I was looking for

  • @someuser4166
    @someuser4166 3 місяці тому

    I like that bevy is handson and don't rely too much on an editor. But this is a bit extreme. Do you have to do this for every enemy you spawn?

    • @snwdn
      @snwdn  3 місяці тому +1

      Yes you do but once you abstract it into a system which does it for everything you don't really have to think about it anymore. I believe there will be a big update to animation with Bevy 0.14 so maybe things will change then.

  • @indiedevcasts
    @indiedevcasts 7 місяців тому +2

    Hey thanks for referencing my video about smooth anims with Bevy (ua-cam.com/video/P6ZXwskKKPE/v-deo.html) at the end of your video. I didn't know! And thanks for your contribution. As I'm making progress in my game I'll certainly come back to it to handle anims with several entities. Just subscribed ;)

    • @snwdn
      @snwdn  7 місяців тому +1

      Glad I can help, and looking forward to seeing your game as it progresses!

  • @progman8688
    @progman8688 8 місяців тому +1

    Good video and disappointment about Bevy. The engine can't do multiple different animations for each different characters(entities), and need the workaround for it?

    • @snwdn
      @snwdn  8 місяців тому +1

      Thanks! I both hope and believe they will make animation easier in the future.