Jump to content

Interior Weather Controller Volume Issues


Josh
 Share

Go to solution Solved by Ugur Tuna,

Recommended Posts

There has been quite a few reports about the interior weather controller not working. This will be fixed in the next version of Gaia.

However if you would like to download the patch file you can download it here:

InteriorWeatherControllerPatch.unitypackage

There has been fixes and improvements to it, it now comes with 2 modes Collision and Disable VFX mode.

The Collision mode will enable/disable world space collision to the particle effects, this can be an expensive mode depending on how many objects there are and geometry complexity.

image.thumb.png.2fedf36a9b09f9c14f6c01fd2e6234ff.png


The Disable VFX mode will enable/disable the particle system effect, this option is cheap and quick and for most cases recommended. Of course with this mode you don't get to see the effect outside unlike the collision mode.

image.thumb.png.54f4f50cccd10b69727d3c90273fa6cf.png

 

If you have any issues with this patch please feel free to reply to this thread.

Happy development.

Link to comment
Share on other sites

  • Josh changed the title to Interior Weather Controller Volume Issues
6 minutes ago, Ugur Tuna said:

How can I open the the package?

You need to rename it so it ends with ".unitypackage" in the file system.
image.png

Then you can install it via Assets > Import Package > Custom Package in the unity editor.

Link to comment
Share on other sites

Ah i think i know the problem here, it's how the tag is detected, give me a few mins and i will provide another patch

Link to comment
Share on other sites

@Ugur Tuna I have updated the patch file on this post, feel free to download it again and try to see if that works.

image.png.795108d4d625237eda716a768d81d927.png

Note that best to use Disable VFX mode and also setup the Player Tag to what ever in your scene has the cahracter controller component be your camera or player object, make sure the Tag matches.

Link to comment
Share on other sites

@Josh I changed the tag but still doesn't work. My player has no character controller, I handle the movement with my coding and my animator is this the problem?

Edited by Ugur Tuna
Link to comment
Share on other sites

@Ugur Tuna Hmm, okay only way would be for me to use bounds instead of triggers. It can be easily done but if you use sphere trigger mode the bounds will be way off due to the shape. But box colliders will be very accurate.

I will try setup a bounds system mode that checks for a transform position contains within.

Link to comment
Share on other sites

@Ugur Tuna I have updated the patch file above.

Here you want to set the Trigger Mode to Bounds
image.png.7dc69d45609d70e9a7be0d89e1494571.png

Then make sure you assign the correct transform, if you need to set it in code you can do this from the interior weather controller

  InteriorWeatherController[] controllers = FindObjectsOfType<InteriorWeatherController>();
  foreach (InteriorWeatherController controller in controllers)
  {
  controller.SetPlayerTransform(transform);
  }

This will assign the transform to all in the scene just be sure to assign your transform in the SetPlayerTransform function.

Link to comment
Share on other sites

@Josh it still doesn't work; I tried to debug UpdateParticleColliders function; and it triggers. There is no problem with detecting the player.

Link to comment
Share on other sites

  • Solution

Enabled the collusion property of the weather particles and  problem is solved.

Link to comment
Share on other sites

@Ugur Tuna Okay after some more digging into the system i noticed that yeah the collision stuff was not being setup correctly i have updated the patch file with the new changes and some code refactor and optimizing.

Link to comment
Share on other sites

  • 3 months later...
On 4/21/2022 at 1:33 PM, Mattis89 said:

@Josh could you help me with making this work for any transform? Since my game is co-op ...

If you use bounds as the trigger mode then no collisions are required and it will generate a bounds box areaon the transform or do you mean like a network sync?

Link to comment
Share on other sites

1 hour ago, Mattis89 said:

I mean in network, sorry 😊

Well for networking you would just need to network sync the enter/exit functions in the script

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
 Share

  • Tell a friend

    Love Unity 3D World & Game Creation Tools - Canopy - Procedural Worlds? Tell a friend!
  • Interesting Articles

    1. 0

      Different layers are being combined together.

    2. 42

      GeNa Pro City Generator

    3. 1

      World Creator + Gaia

    4. 1

      Gena decorator??

    5. 1

      Objects spawning at unexpected position in segmented scene.

×
×
  • Create New...