Crate bevy_retro_physics

Source
Expand description

Bevy Retro physics plugin

This is a re-export of bevy_rapier2d with some of our own utilities added.

Re-exports§

pub use bevy_rapier2d;

Structs§

RetroPhysicsPlugin
Physics plugin for Bevy Retro
TesselatedCollider
A component used to automatically add a [CollisionShape] to an entity that is generated automatically by tesselating Image collision shape based on it’s alpha channel
TesselatedColliderConfig
Sprite collision tesselator config

Traits§

CollisionEventExt
Helper methods on [bevy_rapier2d::CollisionEvent]

Functions§

create_convex_collider_from_image
Create a convex hull [CollisionShape] from a sprite image based on it’s alpha channel