Skip to content

LocalPositionAtSpeed using TweenSettings #131

Answered by KyryloKuzyk
Kayan-Oti asked this question in FAQ
Discussion options

You must be logged in to vote

Hey! That method is private bacause the TweenSettings struct doesn't have a field to represent speed. Everything in PrimeTween is based on duration, so adding a new speed field to the TweenSettings struct didn't feel right. And reusing the duration field to store speed is counterintuitive. So I just decided to keep things simple and made that method private to prevent confusion.

Hope this answers the question :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kayan-Oti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants