Computer Science Canada

Motion Formulas

Author:  TheZsterBunny [ Fri Feb 18, 2005 7:44 am ]
Post subject:  Motion Formulas

I'll add more later. I've a bio test to study for now.


code:

x = (x*(f-1))+m)/f

x - current position
m - new position
f - easing factor



Instead of just jumping to where you want to go, why not slide gracefully?

-Z

Author:  Drakain Zeil [ Fri Feb 18, 2005 3:59 pm ]
Post subject: 

Hmm, this looks good, I've been looking for things like this, I've been going about these things long and difficult ways.

Author:  omni [ Wed Feb 23, 2005 8:25 pm ]
Post subject: 

whats ease factor mean? Friction?

Author:  TheZsterBunny [ Wed Feb 23, 2005 9:23 pm ]
Post subject: 

i suppose it is friction, but in a less scientific sense.

i.e. you already know where you want to stop, and you calculate the distance from there.

as opposed to having a coeff of friction and a vector.

imagine one of those automatic opening sliding doors.

you know exactly how far its going to open. But as it opens, it slows down.

Thats what this formula does.

-Z


: