Navigation überspringen
Okay Rapier is utter trash, built my own vehicle raycast controller with self made physics thanks to…
0:00 / 0:23

Okay Rapier is utter trash, built my own vehicle raycast controller with self made physics thanks to…

Alex

@mustache_dev5800 Follower

Auf X besuchen

20.990 Aufrufe

Okay Rapier is utter trash, built my own vehicle raycast controller with self made physics thanks to three-mesh-bvh. It's much more reliable, much faster, and I don't need real life physics calculations, so ..

22 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Adam Dalton

    @robotiguy

    we use jolt and it's pretty awesome

    12 Likes

  • Profilbild von Alex

    @mustache_dev

    How is the support ? React-three fiber approach or js ? 👀

    2 Likes

  • Profilbild von Ademola

    @Ademola_4life

    Agreed 💯! I think we need something like three-mesh-bvh-physics that supports static, kinematics and dynamic bodies. Joints and vehicle support. imo we can support Andrew's work on bvh-ecctrl to achieve that

    6 Likes

  • Profilbild von Alex

    @mustache_dev

    Yeah ! It’s very good ! The approach lacks of flexibility for my needs but it’s amazing ! And would fit any needs I think

    3 Likes

  • Profilbild von 𝔊𝔢𝔬𝔯𝔤𝔢 𝔓𝔢𝔱𝔯𝔦

    @GeorgePetri_

    had issue precision issues in the past, i replaced it with jolt

    1 Like

  • Profilbild von Cluckworks 🐔

    @cluckworksgames

    sometimes much easier to just build out a small implementation than to try to use a giant lib :)

    1 Like

  • Profilbild von Genshian

    @genshian_m

    Nice! You should try to figure out a way to make a PR to rapier. I feel like the react three fiber helpers and such really need some love.

  • Profilbild von Alvaro アルバロ

    @alvarosabu

    Interesting, what made you dislike rapier?

  • Profilbild von Alex

    @mustache_dev

    It’s unpredictable, it has stutter, some behaviour is completely random, and with fast pacing object it looses track of physical object, Bruno’s portfolio is a perfect example of that

    3 Likes

  • Profilbild von Alvaro アルバロ

    @alvarosabu

    He used rapier?

  • Profilbild von Alex

    @mustache_dev

    Yep

  • Profilbild von Alvaro アルバロ

    @alvarosabu

    We have been working on a physics library for @tresjs_dev and we decided on Rapier over cannon, honestly there is not much out there to choose from

    2 Likes

  • Profilbild von Alex

    @mustache_dev

    It’s good in most cases don’t get me wrong, but it’s true that the options out there aren’t really good, but from my experience, all game engine struggle from it And for fast paced object it’s always very complicated Jolt seemed like the best but there isn’t a good support for js

    6 Likes

  • Profilbild von Drift, Race, Build -- Defend you home course

    @DriftClubGame

    looks great! Yeah I also tried rapier.js, ammo.js, cannon.js and couldn't get vehicle physics running at all. Ended up building my own custom vehicle physics engine which works really nicely.

  • Profilbild von irj | b3D

    @irb0gie

    hmmmmmmmmmmm

  • Profilbild von ChineseTechBro

    @ChineseTechBro

    I use rapier and can’t tune its ccs to avoid tunneling even at slow speed… now using harvok

  • Profilbild von JahDidDat

    @jahdiddat_

    Would love to make stuff for your game !

  • Profilbild von Alex

    @mustache_dev

    Oh, I don’t need anything as it’s very in progress and I’m a very fluctuating person, but it sounds so nice !

    1 Like

  • Profilbild von JahDidDat

    @jahdiddat_

    I appreciate it best of luck with your game !

  • Profilbild von SUKHAREV

    @_sukharev_

    details pls