bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

Collider doesn't update upon reparent

Open Multirious opened this issue 1 year ago • 1 comments

This is happening in my game where I'm attempting to reparent a collider to make a "merging" behavior for my game mechanic.

Looking through bevy_rapier systems there doesn't seems to be any check for reparenting.

Multirious avatar Mar 20 '24 06:03 Multirious

Workaround that add and remove collider doesn't work or I don't know how to make it to work.

Edit: Got it to work. Had to delay collider re-adding by 1 frame but it's pretty janky since collider missing is visible for 1 frame for the user.

Multirious avatar Mar 23 '24 02:03 Multirious