minus-squareslinkie@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?linkfedilinkarrow-up4·edit-211 months 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 linkfedilink
minus-squareslinkie@lemmy.worldtoAsklemmy@lemmy.ml•Why can’t I place the caret on my iPhone?linkfedilinkarrow-up3·1 year agoThis is a game changer. linkfedilink
minus-squareslinkie@lemmy.worldtoAsklemmy@lemmy.ml•Why can’t I place the caret on my iPhone?linkfedilinkarrow-up1arrow-down2·1 year agodeleted by creator linkfedilink
minus-squareslinkie@lemmy.worldtoNo Stupid Questions@lemmy.world•What happened to online computer games?linkfedilinkarrow-up1·1 year agoI think you might be talking about Flash games. Here’s an article that summarizes Flash and what happened to it: https://www.techspot.com/article/2413-adobe-flash/ linkfedilink
Maybe 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