Searched refs:padVector (Results 1 – 1 of 1) sorted by relevance
334 const float3 padVector = (padPos - owner->pos).SafeNormalize2D(); in HaveLandedOnPad() local348 owner->SetVelocityAndSpeed((owner->speed + (padVector * accRate)) * XZVector); in HaveLandedOnPad()351 if (Square(owner->rightdir.y) < 0.01f && owner->frontdir.dot(padVector) > 0.01f) { in HaveLandedOnPad()352 owner->frontdir = padVector; in HaveLandedOnPad()