60 [[nodiscard]]
WindSample sample(
const glm::vec3 & worldPos,
float timeSeconds )
const;
This is the base class for a wind field. (An area in which a vector field pushes the player glider co...
const WindFieldConfig & getConfig() const
WindSample sample(const glm::vec3 &worldPos, float timeSeconds) const
void drawDebugAround(const glm::vec3 ¢er, float timeSeconds) const
void setConfig(const WindFieldConfig &config)
WindFieldConfig & getConfig()
Holds the parameters of a wind field which can be configured through imgui.
float globalDirectionRotationSpeed
float globalDirectionRadians
float regionalBiasStrength
float headwindPenaltyScale
float windAccelerationScale
float windDiminishingSpeed
float visualizationRadius
float coneHalfAngleRadians
A wind sample is the wind force at one point in the wind field.