Skip navigation
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_dev5.8K followers

Visit on X
232 likesDownloadOriginal post

20,990 views

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 Comments

Comments from the original post on X (Twitter)

  • Adam Dalton's profile picture

    @robotiguy

    we use jolt and it's pretty awesome

    12 likes

  • Alex's profile picture

    @mustache_dev

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

    2 likes

  • Ademola's profile picture

    @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

  • Alex's profile picture

    @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

  • 𝔊𝔢𝔬𝔯𝔤𝔢 𝔓𝔢𝔱𝔯𝔦's profile picture

    @GeorgePetri_

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

    1 like

  • Cluckworks 🐔's profile picture

    @cluckworksgames

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

    1 like

  • Genshian's profile picture

    @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.

  • Alvaro アルバロ's profile picture

    @alvarosabu

    Interesting, what made you dislike rapier?

  • Alex's profile picture

    @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

  • Alvaro アルバロ's profile picture

    @alvarosabu

    He used rapier?

  • Alex's profile picture

    @mustache_dev

    Yep

  • Alvaro アルバロ's profile picture

    @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

  • Alex's profile picture

    @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

  • Drift, Race, Build -- Defend you home course's profile picture

    @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.

  • irj | b3D's profile picture

    @irb0gie

    hmmmmmmmmmmm

  • ChineseTechBro's profile picture

    @ChineseTechBro

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

  • JahDidDat's profile picture

    @jahdiddat_

    Would love to make stuff for your game !

  • Alex's profile picture

    @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

  • JahDidDat's profile picture

    @jahdiddat_

    I appreciate it best of luck with your game !

  • SUKHAREV's profile picture

    @_sukharev_

    details pls