- Home /
[Shuriken] How to avoid clipping?
Hi, I'm using particle system to emit cube shaped meshes. Problem is that the cube graphics is clipped on collision with the surface. How can I avoid that?
I want the cubes to be fully visible (not clipped) when come to stop.
Answer by AlwaysSunny · Aug 29, 2014 at 07:57 PM
Particles use a simplified system for collision detection. Only the particle's origin is considered. As far as I know, there's no way to change this behavior. If this clipping issue is a deal-breaker, you'll need to spawn rigidbody cubes instead of using particles.
IIRC, I once used a particle mesh whose origin was offset to lie on the bottom face. Using this method, no clipping occurred, but this was done to achieve a very specific effect (game was very stylized, particle cubes represented "3D pixels")
Answer by flaviusxvii · Aug 29, 2014 at 09:47 PM
You could disable depth testing on their material. The trouble is this could make them get render over the top of things you don't intend.
Your answer
![](https://koobas.hobune.stream/wayback/20220613161842im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple trails behind one particle? 1 Answer
shuriken particle system not rendering particles when off screen 7 Answers
Is it possible to place a complex particle system as a sub-emitter? 1 Answer
Particle System (Shuriken) problem with emission while moving 2 Answers
Question on Max Particle Size 0 Answers