When interval is 0 the "fromXXX" values are used for the beginning of the interpolation. When interval is 1, the "toXXX" values are used for the end of interpolation.
When interval value is in between, interpolated values are used (see diagram below). The interpolation is linear and along straight line between "from" and "to" positions.
If curve is needed, then it should be constructed from multiple straight sections or by dynamically changing value of position params during the interpolation cycle, similar to Quadratic Curve animation (see #Example 3).
The velocity param does not do much in SP, but in MP, provided the velocity component is set correctly, it helps the engine to figure out what the next position of the moving object should be on other clients.
The actual approximate interpolation formula for this command is:
For continuous movement this command should be executed each frame while changing the interval value.
For example to apply interpolation for 10 seconds one could use the following command to translate 10 seconds into 0..1 interval:
interval: Number - interpolation interval (variable value, normally between 0 and 1)
customCenter: PositionRelative - (Optional, default placing point of the model (see getModelInfo)) custom center [x, y, z] to which transformation would be applied in model coordinates (since arma3 2.08)
Tracker starts coping the route and stance from the object when time start counting. TimeDiff determines the distance multiply between the current position and the next position.
DrSova
You can't apply this command to the dead body in ragdoll.