LuFFy

EASE and SPRING — 2 ways of proportional motion

两种运动模式:

1. Ease:  (use the distance to the target to change the position)
velocity= f(distance, fraction)
distance+=velocity

2. Spring: (use the distance to the target to change the velocity)
accelerate=f(distance, spring)
velocity=f(accelerate,fraction)
distance+=velocity

你也许对这些文章也感兴趣……:


No Responses to “EASE and SPRING — 2 ways of proportional motion” »

Leave a Reply