Particles Troubleshooting: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo 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. Another solution seems to be adding a Velocity Noise initializer - it's tricky to work with, but it seems to work.
:'''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. Note: this problem does not exist in the L4D2 or Alien Swarm engine branches.
[[Category:Particle System]]
[[Category:Particle System]]

Revision as of 10:24, 23 March 2011

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. Note: this problem does not exist in the L4D2 or Alien Swarm engine branches.