Rain drops through object/ collison
Hello everyone,
I got a problem.
I have the simple weather control pack with rain as particle.
When I drop the rain it goes through the ceilling in a room.
Is there an way to get it drops on the ceilling instead of going through?
Kindly regards,
Melchet
Answer by Leoo · Aug 24, 2015 at 11:23 AM
Hello @Melchet,
A few steps to help you out.
Go into the particle system options, and find the "Collision Tab" , tick it to activate it.
Under That "Collision" Tab, put in these settings : -World Collision , instead of Planes on the first sub-setting. -Lifetime Loss: 1; -Collision Quality: High;
Tick in "Collision With" all the layers that have your prefabs on, with MeshColliders/NativeColliders, meaning the objects that you want this particle system to collide with.
Be Sure to Prefab - ''Apply"' these new settings on your particle system if you are editing the prefab instead of a scene GameObject.
Be sure that the GameObject you want to collide with the particles has a Collider component and it is on the right Layer that your ParticleSystem is looking up.
Plus 6. Create a cube, and a standard particle system, create both, then follow the said points, then, try implementing on your own mesh and particle system.
I hope this helps you!
-Leo
Is it true that the rain goes through with an object when I disconnect the part off an object?
I have tried it, but the rain still drops trough object (ceilling)
Answer by Melchet · Aug 24, 2015 at 12:12 PM
Hello Leoo,
I have all done what you did, but it didn't work, rain still goes through ceilling....
I only don't understand what you mean at point 5.
He means, that your roof needs a Collider (BoxCollider for example). Below The GameObjects Name there is a layer tag. It needs to be the same as the one defined under 3.
You mean I need a tag named 'Rain' putting that tag in Rain and even tag that word on the object under tag?
Your answer
Follow this Question
Related Questions
Bounce, gravity and velocity 1 Answer
Player trigger on platform with prefab 0 Answers
RigidBody Collisions Detect 0 Answers
Destroy GameObject inconsistent with Instantiated children 1 Answer