Searched refs:forceMagnitude (Results 1 – 1 of 1) sorted by relevance
102 float forceMagnitude = static_cast<float>(fieldStrength_); in ApplyField() local107 forceMagnitude = std::max(forceMagnitude, -1.f * distance / deltaTime); in ApplyField()109 forceMagnitude = std::min(forceMagnitude, edgeDistance / deltaTime); in ApplyField()112 forceMagnitude *= featherEffect; in ApplyField()113 Vector2f force = direction.Normalized() * forceMagnitude; in ApplyField()