Jump to content

StopWeather() method stops everything abruptly, despite 1.1 release notes


mroshaw
Go to solution Solved by Josh,

Recommended Posts

Hello!

I'm using this code to stop the current rainy weather:

HDRPTimeOfDay.Instance.StopWeather()

Everything stops abruptly. The release notes for 1.1 say:

Quote

Improved weather transition fade in/out (If weather fx is stopped mid-way).

I read this to mean that stopping weather in this way would cause effects to fade away, but it doesn't seem to be working.

Any thoughts?

Thanks again!

Link to comment
Share on other sites

  • Solution
9 hours ago, mroshaw said:

Hello!

I'm using this code to stop the current rainy weather:

HDRPTimeOfDay.Instance.StopWeather()

Everything stops abruptly. The release notes for 1.1 say:

I read this to mean that stopping weather in this way would cause effects to fade away, but it doesn't seem to be working.

Any thoughts?

Thanks again!

The stop weather has a bool that is defaulted to true that instatnly stops the effect please use:

HDRPTimeOfDay.Instance.StopWeather(false);

We should probably default this to false and set true in our code to disable this effect instantly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...