TransitionType_Deceleration Class Methods
For a list of all members of this type, see TransitionType_Deceleration members.
Public Methods
Name | Description | |
---|---|---|
onTimer | Works out the percentage completed given the time passed in. This uses the formula: s = ut + 1/2at^2 The initial velocity is 2, and the acceleration to get to 1.0 at t=1.0 is -2, so the formula becomes: s = t(2-t) |
See Also