bevy_easings icon indicating copy to clipboard operation
bevy_easings copied to clipboard

Final values becomes NaN/inf, if duration for easing is 0

Open kundankr opened this issue 5 years ago • 1 comments

e.g. code

duration = Duration::default()
commands.insert_one(
            ent,
            transform
                .ease_to(
                    transform.clone(),
                    bevy_easings::EaseFunction::SineInOut,
                    bevy_easings::EasingType::Once { duration},
                )
)

kundankr avatar Nov 20 '20 06:11 kundankr

thank you for reporting this.

it should be fixed now, but master tracks bevy master so I'll probably wait for a bevy release to push a new version...

mockersf avatar Nov 21 '20 15:11 mockersf