Can you Interpolate a boolean?
DrGlickert
Member Posts: 1,135
Just out of curiosity? Can I interpolate a boolean from true to false over 3 seconds or vice versa?
Thanks.
Thanks.
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Say it was interger and you were interpolating between 1 and 3. Technically it would go threw 1 and 3 right? So 1 then 2 then 3 it would change too (theoreticallty speaking)
But since boolean is only true and false theres no middle, so it can only change between those too, so all interpolate for 3 seconds would do is change attribute to false or true after 3 seconds.
A change attribute with a timer would do the same thing for you
Me: "Did you do that"
Son: "No" (boolean - false)
Me: "But I stood here and watched you do it. So did you do it"
Son: "Not really."
Me: "Tell me the truth."
Son: "Well, sort of."
Me: "What do you mean 'sort of'?"
Son: "Well, it was an accident."
Me: "So you did do it?"
Son: "Yeah" (boolean - true)
Me: "What do you say"
Son: (big sigh) "sorry dad"
is that what you had in mind?