Rapier Physics Engine Showcase: Rust Physics Engine for Bevy

  Рет қаралды 17,041

Logic Projects

Logic Projects

Күн бұрын

Пікірлер: 29
@beemstream
@beemstream 2 жыл бұрын
I've always been confused about game physics, this is such an amazing resource. Thanks as always for the high quality tutorial, really appreciate this!
@IMPOSING-NOOB2233
@IMPOSING-NOOB2233 2 жыл бұрын
been floating the idea of trying rapier for over a year.... thanks so much
@logicprojects
@logicprojects 2 жыл бұрын
It's gotten much better in the past year! Highly recommend giving it a chance
@PhaestusFox
@PhaestusFox 2 жыл бұрын
love the work. really nice to see more people making bevy tutorials really helps spread the word about some cool plugins
@logicprojects
@logicprojects 2 жыл бұрын
Thank you! I'm glad to see your still working on Bevy Basics as well, bevy is super cool and more people need to learn about it and have ways to figure out how to use it :)
@ivanstepanovftw
@ivanstepanovftw 2 жыл бұрын
Thank you. It is better to use an already done physics than reimplementing it from scratch
@logicprojects
@logicprojects 2 жыл бұрын
It's often better to use the existing engine but I wouldn't always recommend it. Some games have very limited needs or special properties where a simple hand done system might be better suited. Physics engines add a lot to the feel of the game.
@rotteegher39
@rotteegher39 2 жыл бұрын
This is so cool! I would like to see a use of that in more detailed video! Good Job! I'm currently working on Bevy project with use of Rapier. Your video really got in handy.
@wojciech3094
@wojciech3094 2 жыл бұрын
Your tutorials are great and update to bevy 0.9 is something I appreciate a lot!. Thank you!
@klirmio21
@klirmio21 Жыл бұрын
Thank you for this overview and tutorial!
@alexkazimir3835
@alexkazimir3835 6 ай бұрын
Very cool review 🎉
@milckshakebeans8356
@milckshakebeans8356 Жыл бұрын
I have a major problem with the engine collision system, because I don't have direct access to the collision system I can't order the collision confinement system to be after the movement system for my player. This makes my player to momentarily go through the collider and then bounce back in this weird artifacting when running continuously into a wall.
@logicprojects
@logicprojects Жыл бұрын
Yeah ordering plugins is something I wish we could do in bevy. I usually work around this by using the rapier character controller (which has improved) or their movement methods. Otherwise you can move your character controller earlier in the schedule but that is also suboptimal
@milckshakebeans8356
@milckshakebeans8356 Жыл бұрын
@@logicprojects Is the only way to "work around" this is by making my own collision system?
@logicprojects
@logicprojects Жыл бұрын
No if you use rapiers movement functions you can pretest the movements and only apply the part of your target movement that doesn't collide. I think you should look into the rapier context resource
@milckshakebeans8356
@milckshakebeans8356 Жыл бұрын
@@logicprojects Ok thank you, I really didn't want to delve into that (:
@TheNOLAnuffsaid
@TheNOLAnuffsaid 2 жыл бұрын
i love this video! thank you for the time you put in to make this video. Will you consider making an advanced Rapier video?
@logicprojects
@logicprojects 2 жыл бұрын
I would consider it. The problem is it branches out in many directions and it would be hard to tie it all together. If you join the discord (in description) and pitch me what the demo would look like or what you'd want to see we can discuss it there.
@TheNOLAnuffsaid
@TheNOLAnuffsaid 2 жыл бұрын
@@logicprojects sounds I'll join tomorrow ☺️ thanks
@jeffg4686
@jeffg4686 Жыл бұрын
by default, sensors will block your characters movement. I'm kind of thinking that shouldn't be a default. I wonder if this is a way to force people to know (or remind them) that these settings are there ...
@jeffg4686
@jeffg4686 Жыл бұрын
I was thinking through a scenario of having a car drive through a wall, or something similar. Would you make all the "pieces" as "static rigid bodies" until the collider of the aggregate parent object is hit, then change all the pieces to dynamic so that the physics can take over? Does that sound reasonable. Also, do you happen to know the relationship between "instances" and physic settings for that instance? (Do all instances have to have the same physics settings?) thanks for any thoughts
@milckshakebeans8356
@milckshakebeans8356 Жыл бұрын
I guess you want them as dynamic all the time because the engine will make them sleep when not interacted with.
@ivanstepanovftw
@ivanstepanovftw 2 жыл бұрын
Could you please review Lapce? It is a text editor written in Rust
@logicprojects
@logicprojects 2 жыл бұрын
I haven't heard of it before but I'll look into it!
@EpicDavi
@EpicDavi Жыл бұрын
Good video but some of the dark code text on the dark background is hard to read
@schmoris
@schmoris 4 ай бұрын
yes and also i cannot see the red ball at all, only after it turns dark red 🥲
@ningtao7682
@ningtao7682 2 жыл бұрын
How is the performance of Rapier? How many instances can it support at most. I tested it before and felt that the performance was not very good, so I switched to the physics engine.
@logicprojects
@logicprojects 2 жыл бұрын
That is a delicate question, I have notice it preforms well on my machine but I have seen it start to tank in certain situations running in wasm. It is designed in a modern way and uses simd/parallel processing so I would assume it is comparable to any modern physics engine (sparing it being relatively young). The constraints on what it can support will be very machine specific and you would need to profile it on the target platform with the load you are expecting to really get a clear idea what it's performance would be. What physics engine did you swap to?
@pushqrdx
@pushqrdx Жыл бұрын
Rapies
Bevy Egui - Quick Easy Developer Tools and UIs
6:35
Logic Projects
Рет қаралды 19 М.
Build low poly terrain from planes meshes in Bevy
27:06
chris biscardi
Рет қаралды 4,8 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
Networking in Bevy/Rust: Bevy Renet Showcase
13:24
Logic Projects
Рет қаралды 16 М.
Bevy Engine 0.14 - Open Source ECS-based game development in Rust
14:27
Physics in Bevy: What is Bevy Rapier
12:28
PhaestusFox
Рет қаралды 6 М.
AI Makes a Physics Engine (ChatGPT)
6:21
Zyger
Рет қаралды 20 М.
How to make an FPS Game with Bevy and Rust -Part 1 Basic Shooting
20:00
Learn Bevy 0.11 By Making a Game! (part 1)
13:01
Logic Projects
Рет қаралды 46 М.
I Made a Physics Engine in Scratch
8:03
Zyger
Рет қаралды 22 М.
Bevy's Powerful Secret: Commands
4:13
Logic Projects
Рет қаралды 5 М.
I failed to build multiplayer pong in Rust
12:09
chris biscardi
Рет қаралды 17 М.
The Best Games from Bevy Jam 5
9:54
chris biscardi
Рет қаралды 10 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН