Crate heron_rapier

source ·
Expand description

Physics behavior for Heron, using rapier

Supported custom collision shapes

The following types are accepted as heron_core::CustomCollisionShape values.


pub extern crate rapier2d;
pub extern crate rapier3d;
pub use crate::rapier::na as nalgebra;


Type conversions between bevy and nalgebra (used by rapier’s API)


Component that holds a reference to the rapier collider
A Bevy system parameter that can be used to perform queries such as ray casts on the physics world
Plugin that enables collision detection and physics behavior, powered by rapier.
The result of a PhysicsWorld::ray_cast operation
Component that holds a reference to the rapier rigid body
Information about a shape cast collision


The type of collision returned from a shape cast