bevy_rapier
bevy_rapier copied to clipboard
Official Rapier plugin for the Bevy game engine.
This PR proposes some changes to enable custom colliders in bevy_rapier. Requires https://github.com/dimforge/parry/pull/217 Requires https://github.com/dimforge/parry/pull/216
![image](https://github.com/dimforge/bevy_rapier/assets/39656812/083d151f-f6a5-452c-87f9-3b743d4a5c4a) ```rust // setting Parent -> insert(TransformBundle::default()) Child -> insert(TransformBundle::default(), Collider::cuboid(1,1,1), **RigidBody::Fixed**) // **problem Parent = Transform [ scale(1,1,1), position(0,0,0) ] Child = Transform [ scale(1,1,1), position(-100, 100, 0) ]...
In https://rapier.rs/docs/user_guides/rust/scene_queries it says the limit is `[ray.origin, ray.origin + ray.dir * max_toi]` suggesting that max_toi is in unit of ray.dir (i.e. toi 1 == ray.origin + ray.dir). The code...
Hello, so this specific component. Is broken https://docs.rs/bevy_rapier3d/latest/bevy_rapier3d/geometry/struct.CollidingEntities.html Doesnt seen to be working as expected . As you can see in the video below [Gravação de tela de 21-06-2024 14:42:43.webm](https://github.com/dimforge/bevy_rapier/assets/71156378/5291ca59-60e9-4a26-9612-ac95e9364015)...
From a report on discord, the `max_slope_climb_angle` are not respected in the character controller example. This pull requests only adds 2 slopes to test this behaviour more easily.
How to reproduce: Set max_slope_climb_angle. Translate the controller with no Up force into a slope that is of greater angle than max_slope_climb_angle. Expected: If the slope is a higher angle...
Currently, `bevy_rapier` copies a lot of code from `rapier`, only to change a few signature functions for better glam compatibility. In my opinion, wrapper types should be simpler: we should...
Got an issue with a following setup: 1. CC setup with collider set as cuboid; 2. Translation is set downwards (see as falling) and horizontal is set towards collider /...
### system: macmini m2 ### cargo.toml version: bevy = "0.13.2" bevy_rapier2d = { version = "0.26.0", features = [ "simd-stable", "debug-render-2d" ] } ### code: ```rust use bevy::{prelude::*, sprite::MaterialMesh2dBundle}; use...
# Problem I have panics in a game, because `RapierContext::cast_shape` returns an object ```rust ShapeCastHit { time_of_impact: 2.4042375, details: None, status: Converged, } ``` According to the docs of `ShapeCastHit.details`,...