Rain: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with "Elements: - SceneCapture2D object named "scenecapture_rain" in Maps/Yliakum , which is the Persistent Level - In the Skybox, which is named "bp_sky", there is a Particle Syst..."
 
No edit summary
 
Line 1: Line 1:
Elements:
Elements:


- SceneCapture2D object named "scenecapture_rain" in Maps/Yliakum , which is the Persistent Level
* SceneCapture2D object named "scenecapture_rain" in Maps/Yliakum , which is the Persistent Level
- In the Skybox, which is named "bp_sky", there is a Particle System Component named "p_rain"
* In the Skybox, which is named "bp_sky", there is a Particle System Component named "p_rain"
- "p_rain" is using a Particle System called p_rain_01
* "p_rain" is using a Particle System called p_rain_01
- "p_rain_01" is using a Material called "m_p_rain"
* "p_rain_01" is using a Material called "m_p_rain"


How it works:
How it works:


- A timer in "bp_sky" runs every second and calls applyWeatherSettings event which is positioning the scenecapture_rain at the player position + 300 meters up
* A timer in "bp_sky" runs every second and calls applyWeatherSettings event which is positioning the scenecapture_rain at the player position + 300 meters up
- The position of the player is passed to the material used by scenecapture_rain.
* The position of the player is passed to the material used by scenecapture_rain.

Latest revision as of 22:15, 5 August 2020

Elements:

  • SceneCapture2D object named "scenecapture_rain" in Maps/Yliakum , which is the Persistent Level
  • In the Skybox, which is named "bp_sky", there is a Particle System Component named "p_rain"
  • "p_rain" is using a Particle System called p_rain_01
  • "p_rain_01" is using a Material called "m_p_rain"

How it works:

  • A timer in "bp_sky" runs every second and calls applyWeatherSettings event which is positioning the scenecapture_rain at the player position + 300 meters up
  • The position of the player is passed to the material used by scenecapture_rain.