Page cover image

πŸ’¨Wind Module

Overview

Manage wind, wind FX and poll the current calculated values for the wind.

Compatibility Information

❌ Does not have equivalent COZY Biome Module

βœ… Works well with the Weather Module

Key Features

Edit the default wind

Edit the wind amount, speed and change speed in the selection tab.

Control the wind FX

This module stores all of the wind FX that are used on the weather sphere and calculates the current wind based on that information.

Get the current wind

Easily see the current wind in your world and use it for calculations.

Usage Examples

Get the current wind via C#

The Wind Module has 4 different properties that you can poll using a C# script.

CozyWeather weatherSphere = CozyWeather.instance;

//Gives the current wind power.
weatherSphere.windModule.windAmount;
//Gives the current wind direction.
weatherSphere.windModule.WindDirection;
//Gives the current rate at which the wind will change power. Also determines the pulse frequency of the main windzone.
weatherSphere.windModule.windSpeed;
//Gives the current rate at which the wind will change direction.
weatherSphere.windModule.windChangeSpeed;

Make the wind stronger or weaker

This is very simple! In the Global Settings tab, simple adjust the Wind Multiplier slider to change the wind strength

Last updated

Was this helpful?