Particle Escapes Collider
I have a mesh collider on a tube object (to simulate a pipe). The particle emitter is cone shaped and inside one end of the pipe. The particles bounce around and move along inside the pipe... this works well.
But then imagine a box-like object that pushes down through the middle of the pipe. This box-like object has a mesh collider on it. When the box moves into the pipe, the particles are blocked from moving along the pipe and the particles stay on one side. This works pretty well.
But... there are a couple of renegade particles that sometimes will escape the gate or the pipe itself.
Is there a method to make sure no particles ever escape the pipe or get past the gate?
Thanks!
Answer by hexagonius · Apr 14, 2016 at 07:39 PM
There is a property on the Collision Module of the emitter called Collision Quality. crank that up and it might resolve it.
Thanks for the ideas!
I checked and that setting is already on 'high'. (I wish I could make it go higher!).
I'm wondering if there is some sort of volume kill where if the particle goes inside a mesh volume, it's immediately killed. That way, I could just build the right object to make the particles immediately disappear.
Thanks again.
Answer by m_truly · Apr 27, 2016 at 08:54 PM
Here is a screengrab illustrating the problem.
The collision quality is on high. There is an invisible tube-like object with mesh collider defining the inside dimension of the pipe and a box collider on the box object. The particles should be staying inside the pipe collider and bouncing off the box with no escapees.
What else can be done to make particles work properly in Unity Pro? Should my invisible mesh collider object have a more dense mesh?
Thanks for any ideas!
I re-made the tube collider object with a more dense mesh and this caused more particles to stay in the pipe but there are still some escapees.
Is there any way to setup some system where the escapee particles are immediately killed?
Thanks.
Your answer
Follow this Question
Related Questions
How do I make my particle system detect/mark a floor collision? 0 Answers
Particle Collision Bug. 1 Answer
RayCast on particle system 0 Answers