Serializing Colliders #363
Labels
A-Geometry
A-Integration
very bevy specific
D-Medium
P-Medium
question
Further information is requested
S-not-started
Work has not started
I'm creating a game with a level editor that generates colliders from a png images. I have my own algorithm to generate a polygon from a png. I was glad to find the function Collider::convex_decomposition, as it is exactly what I need. To save time and also to save custom colliders (created in my own editor) to a file I looked at how to serialize rapier colliders. The suggested method to do, is to use the Reflect trait, but it seems that for the Collider struct, Reflect isn't yet implemented (there is a "TODO" in the source code). This has been the case for a while now (last time I checked was in autumn). Are there any plans for implementing this? It seems like quite an essential feature.
EDIT: Is there a workaround for this?
The text was updated successfully, but these errors were encountered: