-
I've got a component I'm trying to reflect (I want to modify its contents at runtime through
Options 1-3 seem overly intrusive:
So I opted for option 4 in the hopes that Bevy has some other way to do this that I haven't yet happened upon. Any advice would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can't currently reflect a foreign type, you would need to A workaround is possible using the bevy_mod_component_mirror crate (disclaimer: am the author) |
Beta Was this translation helpful? Give feedback.
-
Thanks, not sure why my searching didn't turn up that issue. I'll take a look at your crate, is it exclusively for rapier? |
Beta Was this translation helpful? Give feedback.
It's not exclusive to rapier. Only the pre-made ready-to-use stuff. For your components, you'll have to follow the instructions in the "Implement your own mirrors" section