Environment Properties

An Environment Properties asset determines your scene’s global environment settings which will be used during simulation of a bullet. To create one, right click anywhere in your project file, go to RSB>Environment Properties. This will create a new environment properties scriptable object asset file in your project folder.

As you will see, environment properties determine your scene’s global settings such as gravity, temperature, wind speed etc. Your bullet simulation will be affected by these settings. Most of the time, you can leave gravity, temperature and air pressure in it’s default settings but play with the wind speed to achieve the desired wind effect. After we get our environment property ready, we need to create a Bullet Properties asset so we can fire that bullet.

Wind Speed property is accessible in runtime, so we can for instance create a dynamically changing wind condition during our game.

Last updated