Rain

From PSwiki
Revision as of 22:15, 5 August 2020 by Talad (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.