I have a Particle p
.
A particle consists of a start position p0
,an age t
, a velocity v
and a friction f
How can I find the position pt
at an arbitrary t
?
I currently have the formula
pt = p0 + (v*t)
, which works fine.
But I don't know how to corporate f
into it.
f
is a multiplier, that should reduce velocity per timestep:
v' = v*f
I tried p0 + (v*t * (f/t))
but at time 0 it's a division by 0, and when t
is high, pt
converges to p0