Skip to content

Conversation

@Jondolf
Copy link
Member

@Jondolf Jondolf commented Jun 18, 2024

Objective

As noticed by @occuros on Discord, collider scale is currently applied only at the end of each physics frame. As a result, there is always one-frame delay before scale is applied.

Solution

Apply collider scale before physics instead of afterwards. I also added query filters to only iterate over entities with changed transforms.

@Jondolf Jondolf added the bugfix label Jun 18, 2024
@Jondolf Jondolf merged commit 03ea8a1 into main Jun 18, 2024
@Jondolf Jondolf deleted the fix-initial-collider-scale branch June 18, 2024 14:01
@Jondolf Jondolf added C-Bug Something isn't working A-Scheduling Relates to scheduling or system sets and removed bugfix labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Scheduling Relates to scheduling or system sets C-Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants