lyon_path_rapier2d_collider

Crates.iolyon_path_rapier2d_collider
lib.rslyon_path_rapier2d_collider
version0.2.0
sourcesrc
created_at2023-09-13 08:24:43.768856
updated_at2023-09-14 09:32:51.172359
descriptionConvert Lyon Paths into Bevy_Rapier2d Colliders.
homepage
repositoryhttps://github.com/PyPylia/lyon_path_rapier2d_collider
max_upload_size
id971304
size104,270
Lia (PyPylia)

documentation

README

lyon_path_rapier2d_collider

A simple library for converting a lyon_tessellation Path (or bevy_prototype_lyon Path/Geometry) into a bevy_rapier2d Collider.

Note: Trimeshes currently have some very weird collision physics, and may pass through objects. Convex hulls are preferred if applicable.

Example

Check out examples/hearts.rs for a quick example.

Commit count: 6

cargo fmt