game.GetWindSpeed
Recently Added
This was recently added in version (2026.01.17). It might only be available on the Dev Branch right now.
Description
Return wind direction multiplied on speed of env_wind entity.
Arguments
1 Vector pos = nil
Optional arg that takes into account wind controllers with radius above
-1. Without arg should use only the global controller (if one exists).
Position argument unfortunately will not do anything on
CLIENT yet because the env_wind position is never networked to the clients.Returns
Example
Visualization of wind direction:
Garry's Mod
Rust
Steamworks
Wiki Help