Skip to content

Friction in free_cam controller doesn't account for delta time #21455

@alice-i-cecile

Description

@alice-i-cecile

[T]he way friction is applied should take the delta time into account. Given that it's implementing an exponential decay, it should be refactored to use StableInterpolate::smooth_nudge.

Originally posted by @BigWingBeat in #20215 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CameraUser-facing camera APIs and controllers.A-Dev-ToolsTools used to debug Bevy applications.A-MathFundamental domain-agnostic mathematical operationsD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed upon

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions