Broad Phase & Narrow Phase - Let's Make a Physics Engine [22]

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

КОМЕНТАРІ • 17

  • @joywheeler6808
    @joywheeler6808 2 дні тому

    Nice!!

  • @myt9125
    @myt9125 2 роки тому +5

    I really appreciate these videos. It's hard to find concise, intermediate content like this.

  • @vachila643
    @vachila643 2 роки тому +3

    MAN!!
    I have up...I thought you would end the series...,😭
    I just wanted to come check again and I'm so excited you continued!! So many videos I've missed xD
    Thanks for making these videos man!! I really appreciate it!!

  • @chrisboronow2751
    @chrisboronow2751 2 роки тому +3

    Another great video. I can't wait for friction and body rotation!

  • @Tremah2
    @Tremah2 Рік тому +2

    Very nice video! Keep going please :)

  • @catapillie
    @catapillie 2 роки тому +5

    another great video, excited to see the rest!

  • @Zaidguess
    @Zaidguess 2 роки тому +3

    Hello, This is the best channel to explain the physics engine Just a suggestion Can you publish a book? For example on Apress I will be the first to buy it thanks for the knowledge 👍

    • @two-bitcoding8018
      @two-bitcoding8018  2 роки тому +1

      Thanks! Never thought about writing a book :)

    • @Zaidguess
      @Zaidguess 2 роки тому +2

      @@two-bitcoding8018 It would be very interesting and educational I'm sure
      if you write a draft i will be happy to read it📑

  • @Destroyer19941995
    @Destroyer19941995 2 роки тому +1

    Awesome. Will you be making RayCast 2D hit detection like in Unity?

    • @two-bitcoding8018
      @two-bitcoding8018  2 роки тому +1

      I don't have any plans for that right now.. but I'm not familiar with Unity. I will take a look!

    • @Destroyer19941995
      @Destroyer19941995 2 роки тому +1

      @@two-bitcoding8018 Ye like adding ray to character that for example points down and have specific length(already have DrawLine that you made) and it detects if it is colliding with something bellow so AI character knows it should jump or not

  • @zulupox
    @zulupox Рік тому

    I wonder what speed improvements you would get if you put all objects inside some kind of space partitioning structure? , Like a quad tree or similar. Then the broad phase would no longer be O(N^2). Rather one loop over all objects, and the inner loop would just fetch nearest objects from the quad tree etc :)

    • @two-bitcoding8018
      @two-bitcoding8018  Рік тому +1

      Yes. I was considering doing a "sort and sweep".

    • @zulupox
      @zulupox Рік тому

      @@two-bitcoding8018 It would be awesome if you would implement that in a future episode :)
      Thanks for these videos! :)

  • @CL-pg6iu
    @CL-pg6iu 2 роки тому +1

    do you plan to support capsule bodies? I feel like they are quite important for 2d games, especially for the player body.

    • @two-bitcoding8018
      @two-bitcoding8018  2 роки тому +1

      Probably not directly... I like the idea. you could combine a box with two circles on either end and get the same effect?