bevyengine / bevyengine/bevy

Add button to enable/disable interpolation for physics_in_fixed_timestep example

Open
#14,746 0 comments 0 reactions 0 assignees View on GitHub
C-Examples C-Feature D-Straightforward
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

The [physics_in_fixed_timestep](https://github.com/bevyengine/bevy/blob/main/examples/movement/physics_in_fixed_timestep.rs) example is really good at showing *how* to run physics in FixedUpdate and interpolate in Update, but it doesn't show *why* you should do this.

## What solution would you like?

We should add a button to toggle interpolation on/off so it's easy to see why we want to use interpolation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.