slinkie@lemmy.worldtoGodot@programming.dev•How would I get a relative point between a min and max value that could be represented as a float between 0.0 and 1.0?
4·
1 year agoMaybe you’re looking for lerp()?
Given two vectors and a value between 1.0 and 0, it’ll produce a vector at a point between the inputs.
https://docs.godotengine.org/en/stable/classes/class_vector2.html#class-vector2-method-lerp
Wow, thanks to that article TIL about the George H. W. Bush vomiting incident