Skip to main content
gamedev.net
🔒 Locked

Spraying particles?

Started by Bo Mellberg 2 replies 250+ views
Original Post
Bo Mellberg
Bo Mellberg
Hi! How do I make an emittor that "sprays" the particles in a certain direction? In a car ie the fumes are sprayed out of the exhaust pipe. Note that I don''t want a moving emittor but moving particles created by the emittor, depending on the emittors direction. Thanks, /Bo
ChrisE
ChrisE
In the emitter definition, use this line:

EMITTER_SPRAY -90.000000 0.000000 0.000000 2.000000 8.000000

The first 3 numbers are the rotation. Next number is the sideways spread amount (random up to this value). The last number is the velocity in the direction of the spray.



Author of Power Render (http:/www.powerrender.com)
Bo Mellberg
Bo Mellberg
Is this specific for beta5? Where do I add this? Is it
a Macro?

/Bo
ChrisE
ChrisE
This can only be done using the particle system from the character libraries. This line is part of the particle definition file (.PRT)

The other particle system that is in the main libraries does not support spraying in a direction.
Author of Power Render (http:/www.powerrender.com)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.