Skip to content

clamp time delta by max_delta even when relative speed is greater than 1#24237

Open
mockersf wants to merge 2 commits into
bevyengine:mainfrom
mockersf:clamp-with-max_delta
Open

clamp time delta by max_delta even when relative speed is greater than 1#24237
mockersf wants to merge 2 commits into
bevyengine:mainfrom
mockersf:clamp-with-max_delta

Conversation

@mockersf
Copy link
Copy Markdown
Member

Objective

Solution

  • Limit delta by max_delta even with a high relative_speed

Testing

  • Added / updated tests

@mockersf mockersf added the A-Time Involves time keeping and reporting label May 10, 2026
@mockersf mockersf marked this pull request as ready for review May 10, 2026 20:57
Comment thread crates/bevy_time/src/virt.rs Dismissed
Comment thread crates/bevy_time/src/virt.rs Outdated
@kfc35 kfc35 added D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Time Involves time keeping and reporting D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

high virtual time relative speed kills performances

4 participants