Closed zbuc closed 2 months ago
Hey! I just updated your change, I hope you don't mind.
What I did:
TextBundle
in your example which is a UI component and spawned "on the screen" and not "in the world". it now uses a 2D mesh which seems more appropriate.TransformBundle
for tiles and object, which does not have a Visibility
component. They now use a SpatialBundle
which have it. This was preventing the new collider entity to inherit Visibility
.I'll let you review and let me know what you think. I hope the changes I made make sense for you :)
Thanks!
Looks good to me, thank you for the review! I am new to Bevy and still unfamiliar with much of it so I appreciate the suggestions.
This adds some groundwork to be able to specify custom physics backends.
Existing code should work without changes and if you want to use a custom physics backend it should be possible to insert a
PhysicsBackend::Custom
resource with the desired custom backend.