Should you use heron or bevy rapier?

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 23

  • @chrisbiscardi
    @chrisbiscardi  2 роки тому +18

    Heron was discontinued for Bevy 0.9 and will not support any release beyond 0.8! The author of Heron recommends using bevy_rapier instead.
    Thank you to jcornaz for your work which has permanently, positively impacted the usability of bevy_rapier itself, even if heron is no longer going to be around.
    Read the announcement here: github.com/jcornaz/heron/discussions/317

  • @MVPMTKING
    @MVPMTKING 2 роки тому +19

    Read that title and initially thought it was "should I use herion" 💀

    • @jessevos3986
      @jessevos3986 2 роки тому +7

      Wait, you mean heroin?

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

      heroin or the bevy rapist

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

      Herion💀

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

      @@danibiyarslanov Hair loin? I think that's normal...

    • @aberges
      @aberges 9 місяців тому

      you had ONE job

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

    I highly suggest checking out GMTK's Platformer Toolkit for designing the specifics of your character controls and camera

  • @Kfoo-dj4md
    @Kfoo-dj4md 2 роки тому +2

    I tried to use your code and add an offset to fix the collisions, but I couldn't figure out where to put it, could you help me with that please?

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

      yeah, check out this commit (github.com/rust-adventure/2d-platformer-sandbox-youtube-series/commit/fa00d8db93a2312018ecd26792ccbb1aa414ba2d). The offset comes from being parented to the level itself. In the refactor the connection got disrupted, so grabbing the level entity with commands.entity() and using with_children to create the colliders as children will fix the offsets.

    • @Kfoo-dj4md
      @Kfoo-dj4md 2 роки тому +1

      @@chrisbiscardi oooooh I see, thanks for clarifying that!

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

    To fix the floaty jump, couldn’t you just increase the weight of the character instead of the gravity?

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

      I wanted the curve of the jump to change after the halfway point, so changing the weight of the character would make a regular parabolic curve that is the same on both sides, but the impact of changing the gravity increases the slope of the second half of the jump, resulting in what feels like a more controllable landing.

    • @asdqwe4427
      @asdqwe4427 2 роки тому

      @@chrisbiscardi but is it possible to change the weight only when coming down and not holding the space bar?

    • @asdqwe4427
      @asdqwe4427 2 роки тому

      But perhaps it doesn’t make much of a difference. I’m just curious. Is gravity tied to the player or a global thing?

  • @agni8840
    @agni8840 Рік тому +1

    Should you use heron or bevy rapier?

  • @NetherFX
    @NetherFX 2 роки тому

    Looking forward to the 0.8 update!

  • @andres3665
    @andres3665 2 роки тому

    Did they fix the physics? I was trying to make a 2d platformer but my character with enough force could enter the walls. I was using heron.

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

      You might need to enable continuous collision detection on the player, which heron doesn't expose an API for. Access to rapier behavior like this is one reason I switched away from heron, as I need CCD for a breakout/arkanoid game I'm building. -- rapier.rs/docs/user_guides/bevy_plugin/rigid_bodies#continuous-collision-detection

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

    The heron project is discontinued!

  • @IcyTorment
    @IcyTorment 11 місяців тому

    Just for the record, SQL is derived from SEQUEL, but they're not compatible, so it's best not to pronounce them the same. It's kind of like the difference between GL and OpenGL.

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

    For most games you shouldn't use either. Rapier is more like a scientific physics system and isn't particularly stable for games development simulations.

  • @galaxy3432
    @galaxy3432 2 роки тому

    gaming