Manages transitions under constant acceleration from a standing start.
public class TransitionType_Acceleration : ITransitionType
Public Class TransitionType_Acceleration Implements ITransitionType
Constructor. You pass in the time that the transition will take (in milliseconds).
|onTimer(Int32, Double%, Boolean%)|
Works out the percentage completed given the time passed in. This uses the formula: s = ut + 1/2at^2 The initial velocity is 0, and the acceleration to get to 1.0 at t=1.0 is 2, so the formula just becomes: s = t^2
Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: 220.127.116.117