You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bevy_rapier crates have ColliderScale components that let you re-scale the collider in addition to, or instead of using the GlobalTransform. This lets you do things like give one entity a Sprite and a Collider. You can use the ColliderScale to make the collider match the sprite.
The sensor shape components in the rapier integrations ignore this.
The
bevy_rapier
crates haveColliderScale
components that let you re-scale the collider in addition to, or instead of using theGlobalTransform
. This lets you do things like give one entity aSprite
and aCollider
. You can use theColliderScale
to make the collider match the sprite.The sensor shape components in the rapier integrations ignore this.
This system in
bevy_rapier
is where the scale gets applied.https://github.com/dimforge/bevy_rapier/blob/3d0e4c4be83b73fb04bc94e3464a7995364b3b94/src/plugin/systems/collider.rs#L48
The text was updated successfully, but these errors were encountered: