Colliders not at correct position if added after Transform component #289
Labels
A-Integration
very bevy specific
C-Bug
Something isn't working
D-Medium
P-Low
S-not-started
Work has not started
It seems that if I add a
Collider
component to an entity after I insert the transform (for example from another system) then it does not 'move' to the correct position, it just stays at position (0, 0). This can be fixed by re-adding theTransform
component, which then updates the colliders positionCrate versions:
bevy = "0.9"
bevy_rapier2d = { version = "0.19.0", features = [ "simd-nightly", "debug-render" ] }
Minimal reproducible example: https://github.com/Ox512/collider-issue
The text was updated successfully, but these errors were encountered: