---------------------------------------------------------------------------
This is an equation that can be used to move an object from one point to
another, according to the relative destination, ie. the opponent. An example for such a use for this equation is to shoot a projectile
directly at the opponent. This does not include homing capabilities.
---------------------------------------------------------------------------
This example shows how to move the character or such, to move directly to
the opponent in a straight path using a VelSet.
This is used to set the velocities, where "10" is the base velocity overall.
[State ****: Null]
type = Null
trigger1 = (!Time)
trigger1 = (FVar(0) := (P2Dist X * 10) / (Exp(0.5*ln((P2Dist X * P2Dist X) + (P2Dist Y * P2Dist Y)))))
trigger1 = (FVar(1) := (P2Dist Y * 10) / (Exp(0.5*ln((P2Dist X * P2Dist X) + (P2Dist Y * P2Dist Y)))))
[State ****: VelSet]
type = VelSet
trigger1 = (Whatever)
x = FVar(0)
y = FVar(1)