Gyro_Force_ApplyFalloff_ConeLinear(entity force, vector endpoint, float startradius, float endradius)
Conical falloffs are shaped by a central vector between the force's origin and the given end point, which itself is relative to the origin. The falloff is given volume by a pair of radius values - startradius
and endradius
for the two points, respectively - which may independently given any float values, including negatives. There is no necessity for either radius to be zero, and you may even form a cylindrical force by setting both to the same value. Decay is calculated perpendicularly to the central vector, which effectively means the force will be at it's weakest along the outer edge of the cone, rather than at points furthest from the origin. Such behaviour can be simulated by combining a cone with an appropriate spherical area falloff. This particular function will create a cone with linear decay.
Gyro_Force_ApplyFalloff_ConeQuadratic(entity force, vector endpoint, float startradius, float endradius)
Same as the above function, but will create the cone falloff using pseudo-quadratic decay.
Gyro_Force_ApplyFalloff_ConeConstant(entity force, vector endpoint, float startradius, float endradius)
Same as the above function, but will create the cone falloff using constant (boolean) decay.