Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kundankr opened this issue Nov 20, 2020 · 1 comment
Open

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

kundankr opened this issue Nov 20, 2020 · 1 comment

Comments

@kundankr
Copy link

kundankr commented Nov 20, 2020

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 kundankr changed the title Final values becomes NaN, if duration for easing is 0 Final values becomes NaN/inf, if duration for easing is 0 Nov 21, 2020
@mockersf
Copy link
Member

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants