Crates.io | lyon_path_rapier2d_collider |
lib.rs | lyon_path_rapier2d_collider |
version | 0.2.0 |
source | src |
created_at | 2023-09-13 08:24:43.768856 |
updated_at | 2023-09-14 09:32:51.172359 |
description | Convert Lyon Paths into Bevy_Rapier2d Colliders. |
homepage | |
repository | https://github.com/PyPylia/lyon_path_rapier2d_collider |
max_upload_size | |
id | 971304 |
size | 104,270 |
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.
Check out examples/hearts.rs
for a quick example.