#collider #lyon #rapier #2d #bevy

lyon_path_rapier2d_collider

Convert Lyon Paths into Bevy_Rapier2d Colliders

2 unstable releases

0.2.0 Sep 14, 2023
0.1.0 Sep 13, 2023

#1121 in Game dev

32 downloads per month

MIT/Apache

27KB
59 lines

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.

Dependencies

~25–36MB
~588K SLoC