CRaPI - Correct Robust and Perfect API

Positioner.CalculateDeadReckoningPosition Method 

Calculate the coordinates of the position of the player with regard to previous location, direction and speed

public Point2D CalculateDeadReckoningPosition(
   Point2D pOldPos,
   double pDirection,
   double pSpeed,
   int pCycles
);

Parameters

pOldPos
The position in the previous cycle
pDirection
The direction
pSpeed
The speed
pCycles
How many cycles ahead the position should be calculated for

Return Value

The approximate location of the player

See Also

Positioner Class | TeamYaffa.CRaPI.World.Positioning Namespace