# i dont understand lerp(here.x,there.x,1-0.5^timedelta)

### » Tue Apr 12, 2011 1:31 pm

nah
I just forgot honestly. what does a fractional exponent do?
isn't it something weird like 6 to the 1/5 power is like taking the 5th root of 6 or something?
if that's the case then it still doesn't make sense why it'd be equivalent...
wait wait
found it
http://www.mathsisfun.com/algebra/expon ... ional.html

yeah, I guess the confusion was thinking timedelta was an exact science. there's no way taking the nth root of something can give truly similar results to multiplying by some other random a/b.
so basically what you guys are saying is that they really won't run at exactly the same speeds when moving at two different framerates, even in a perfect world where you had a perfectly exact timedelta. so just come up with some random equation that seems to work, or use one you saw someone else use somewhere?
Spriter Dev
B
103
S
22
G
12
Posts: 3,285
Reputation: 17,151

### » Tue Apr 12, 2011 4:21 pm

Pretty much. I mean when you get into to values that small, its about as "constant" as you would need.
B
178
S
50
G
206
Posts: 8,686
Reputation: 127,715

### » Wed Apr 13, 2011 2:25 am

yea it gives the the n'th root depending on the denominator ("n" in this case) raised to the power of the numerator.
B
79
S
13
G
8
Posts: 1,977
Reputation: 9,947

Previous