Options for Entity interaction - Unite Copenhagen

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

Комментарии • 49

  • @lupod3131
    @lupod3131 5 лет назад +23

    For me the most important and insightful talk from Unite 2019 so far, thank you!

  • @vordrax1014
    @vordrax1014 5 лет назад +34

    This was such an awesome and useful talk! This specifically addressed my questions and thoughts. I really appreciated it. Thank you.

  • @jerth
    @jerth 3 года назад +2

    This talk just demonstrates that Unity's ECS implementation is very sub-par for generalized use. It's definitely useful for certain niche tasks, but could be dramatically improved. This just goes to show how difficult implementing a fully featured and effective ECS is.

  • @itold448
    @itold448 4 года назад +2

    Props for the talk. There needs to be a how-to section in entities package documentation with examples like the trick about adding and removing tag component with lifetime of one frame using the same system with two command buffers. Documentation is really bare and its not obvious we have that kind of tool at our disposal.

  • @Stevejustt
    @Stevejustt 3 года назад +4

    Great talk. However, I'd like to see ECS talks that break away from position and velocity examples.

  • @carlosdalomba8455
    @carlosdalomba8455 4 года назад +6

    This is my favorite kind of relationship advice ;)

    • @omg_look_behind_you
      @omg_look_behind_you 4 года назад +2

      What other kind of relationships are there?
      Oh, like database table relationships. Lol. Yeah, I agree

    • @carlosdalomba8455
      @carlosdalomba8455 4 года назад +1

      @@omg_look_behind_you Hahaha forever alone... all of us. XD

  • @lawsylawsy6593
    @lawsylawsy6593 5 лет назад +3

    The missing link I wanted for jobs, no longer needing entities.foreach on the main thread to run safe relationships checking between entities, or using chunk data passed into jobs and looping for existing entity match, thank you! So much more simple

  • @ChronoCZ
    @ChronoCZ 5 лет назад +9

    Just the talk I needed. Great job to the presenter!

  • @darthshuichi3453
    @darthshuichi3453 3 года назад +1

    I just spent eight hours reading documentation with trial and error to understand this concept. This guy explained it in an hour.

  • @behnamrasooli8801
    @behnamrasooli8801 5 лет назад +4

    Please more talks like this one!

  • @sungjin1225
    @sungjin1225 4 года назад +1

    This session really pulled me from OOP perspective. I was really didnt know how to approach ECS.

  • @andrew.r.lukasik
    @andrew.r.lukasik 4 года назад +2

    39:00 I'm confused, this explanation seems to contradict use of tag components as advertised earlier in the talk.
    If there is not much door and button entities - then there is no advantage in implementing it as tags other than preference. The same interaction implemented as regular component data (read every tick) has low and constant overhead in this conditions too AND you wont necessarily have to rewrite it once number of entities grows by order of magnitude suddenly.

  • @chrishoo2089
    @chrishoo2089 Год назад +1

    Every frame is a simulation of the game world at a particular time. Think of all the states(data) as a dependency chain. Every node of the chain is something like a "simulation pass" or a job. Then DOTS running the passes via job system. It is very like rendering pipeline: every pixel is a state, every pass is a job, main pass depends on the pre-pass(depth or something else), and post-processing pass depends on the main pass. And the final framebuffer is the simulation result of the current frame.

  • @Sychonut
    @Sychonut 2 года назад

    Excellent talk.

  • @TheMrKeksLp
    @TheMrKeksLp 4 года назад +3

    Hmm I don't know. Entity interaction is the one thing that really bothers me about ECS architectures and while this approach is probably good enough to be practical in a real scenario I don't think this is as good as it gets

  • @callmedeno
    @callmedeno 5 лет назад +5

    such an important talk, I think unity should get this guy to do as much of this as possible to help people with the transition. Understanding syntax and nitty gritty is fine, but without zooming out like this it's worthless.

  • @lieQT
    @lieQT 5 лет назад +1

    This talk is really well delivered, it's engaging.

  • @ArturoNereu
    @ArturoNereu 5 лет назад

    Thanks for sharing. I loved the simple yet real-world example.

  • @chrishoo2089
    @chrishoo2089 Год назад

    MUST SEE!😀

  • @mohokhachai
    @mohokhachai Год назад

    So you notify the difference btween struct and class composition

  • @mohokhachai
    @mohokhachai Год назад

    Relationship is exists from the first meeting

  • @mohokhachai
    @mohokhachai Год назад

    But how we can obtain the velocity of agent you hidden for us

  • @phobos2077_
    @phobos2077_ 4 года назад

    Excellent talk, very useful for beginner.

  • @eterlan2538
    @eterlan2538 5 лет назад

    Thank you, a neat and smart trick. If anyone stuck with this, please note the attribute in comment.

  • @Peak_Stone
    @Peak_Stone 4 года назад +1

    I hope this speaker does this for every aspect of DOTS. I hope this isn't a one time thing. Feeling a bit left out with all these programmers who started learning python while still in Nursery.

  • @vietnha1999
    @vietnha1999 4 года назад

    I want courses or detail document for learning ECS in unity, pls ?

  • @kenshokram
    @kenshokram 4 года назад

    So let's say this talk is way too complicated for me still...... What would be a good place for me to learn the stuff necessary to make use of this talk?

  • @herohiralal3255
    @herohiralal3255 5 лет назад +1

    If anyone can answer please, how would you get the reference to door entity from the button entity in the first place?

    • @maxdesutter4372
      @maxdesutter4372 5 лет назад

      I have also been stuck at that. the only solution i found was to use
      fooEntityPrefab = conversionSystem.GetPrimaryEntity(fooGameObjectPrefab)
      but that only works if the door and button are under the same parent with convert to entity component.

    • @asiseverything3404
      @asiseverything3404 4 года назад +4

      you don't.
      you are thinking the way of oop. which is not desirable. you have to have right components, systems will do the work. like dooropener system will open the door (ie change state of doorstate component) if buttonstate component has on state. button state and door state can be linked by having tag components.
      when you go data oriented way you have to 'unlearn' oop way, or there will be conflicts.

    • @herohiralal3255
      @herohiralal3255 4 года назад +2

      @@asiseverything3404 alright, any tips on how to link the button state and door state?

    • @phobos2077_
      @phobos2077_ 4 года назад

      @@herohiralal3255 If you place your doors and buttons in prefabs/scenes, then use conversion workflow. You will end up having a normal reference between MonoBehaviors converted to Entity reference at conversion. Otherwise if you're generating those entities procedurally (or based on some kind of data like levels from custom level editor), then it should be trivial. Have your conversion create an Entity for every source object first while filling some kind of Dictionary, then just use that dictionary to fill the missing pieces. You can probably do some of this work in a ECS System as well.

    • @herohiralal3255
      @herohiralal3255 4 года назад +1

      @@phobos2077_ i figured it out some time between posting this comment and today lol

  • @mohokhachai
    @mohokhachai Год назад

    Command pattern with navmeshagent make me madness

  • @Forwolk
    @Forwolk 5 лет назад

    Great talk. Thank you!

  • @宣雨松
    @宣雨松 4 года назад

    The url of the slide is incorrect

  • @mohokhachai
    @mohokhachai Год назад

    Frequently

  • @neofox2000
    @neofox2000 4 года назад

    22:52 I tried this but still getting the error at runtime :(

  • @nathanielblair6466
    @nathanielblair6466 2 года назад

    why are you using a nonconcurrent system concurrently? makes 0 sense, since unity themselves designed it

  • @ThePlacehole
    @ThePlacehole 4 года назад +1

    "This is why OOP winds up in these tangled messes." Nah, this is what happens if know nothing about OOP.
    Powerful tools require knowledge to use properly.

    • @mikoajkubiak7775
      @mikoajkubiak7775 3 года назад

      How do you handle DI in OOP in Unity? Because the way I see it, it's singleton(breaks OOP), static class(breaks OOP), or tangled messes.

  • @ВалерийМандругин
    @ВалерийМандругин 5 лет назад +2

    It's too obvious stuff