graphics
[Particle System] Particles Detach from Moving GameObjects
Under Audit
Unity 2021.3.x - Unity 6.1.x
Published Sat, Mar 14
Particles may fail to remain attached to an animated object after collision, even when Dampen values are maximized or simulation space is adjusted, leading to undesired detachment.
A dirt-digging effect utilizes a Particle System. The objective is to simulate dirt being scooped and tossed. Currently, mesh particles spawn above a moving object, collide with it, but detach and fall when the object moves. The particles do not remain affixed to the moving object. Setting Dampen to 1 in the Collision module allows particles to stick, but only while the object is stationary. Adjusting the simulation space does not resolve this issue.
- Consider using a
ParticlePhysicsMaterialwith high friction and stickiness properties on the colliding object’sCollider. - Implement a custom script to detect particle collision and parent the particles to the moving object upon impact.
- Ensure the moving object’s
Collideris appropriate for particle interaction, such as aMeshColliderif the shape is complex, and that it is active and correctly configured.
Editor's Note:
Related Posts Haven't quite found a solution to your problem? We think these posts might help you.
[UI Toolkit] Unleash Dynamic Trail Effects Now[HDRP Water] Eliminate Visual Glitches: Subsurface Control with UnderwaterMask[PointLight] Non-Uniform Scaling Breaks 2.5D Visuals
Content inspired by a Unity discussion post.