Particles Troubleshooting: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
'''Q:''' When I used the rope render type, it flickers around for some reason!
'''Q:''' When I used the rope render type, it flickers around for some reason!


:'''A:''' Rope rendering clicks onto the nearest particle when a particle dies, the only solution is to destroy and create all particles simultaneously.
:'''A:''' Rope rendering clicks onto the nearest particle when a particle dies, the only solution is to destroy and create all particles simultaneously. Another solution seems to be adding a Velocity Noise initializer - it's tricky to work with, but it seems to work.
[[Category:Particle System]]
[[Category:Particle System]]

Revision as of 03:11, 31 December 2010

Q: I have an instantaneously emitted particle with a long lifetime that's supposed to attach to an object, but it's getting left behind when the object moves.

A: Add a position_lock_to_controlpoint operator with a control point of 0. By default that control point is the emitter.

Q: When I used the rope render type, it flickers around for some reason!

A: Rope rendering clicks onto the nearest particle when a particle dies, the only solution is to destroy and create all particles simultaneously. Another solution seems to be adding a Velocity Noise initializer - it's tricky to work with, but it seems to work.