- Home /
Car exhaust Flame in unity
i wanted to create a car exhaust flame in unity and i found it very Hard to. could you help me with a complete one ot a tutorial please? ][1]
Answer by JonnyHilly · May 17, 2019 at 04:53 AM
find some nice flame sprites, preferably grey-scale color. make a particle system add a node(gameObject) one per exhaust pipe, pointing Z axis out along direction of flame in the particle system, set it to use local space... will be too hard to make it work in world space on fast moving car. set the emit mode to "burst" so it fires out multiple particles all at the same time... set the emit shape to cone, and emit from volume... give a fairly short life-time... edit color over lifetime... starting white.. to yellow, red and maybe ending in purple or blue tint, and alpha fade out to 0 This need to all happen in very short lifetime of particles. Set them to have random start rotation, billboard render mode.
You'll need to add one effect per exhaust pipe. Suggest you have a control script with a reference to each particle emitter. have the FX on the car all the time... but have the script tell it when to emit a burst. You'd probably want to do that during down-shift events.
maybe with 0-3 (random quick succession backfires after each event)
also get a few different backfire sounds for variation... randomly play one each time you emit from the particleSystem, and also randomly vary the volume and frequency a bit each time for more variation.
that should get you started. :)
Hi! Thank you very much for your answer i have the system i need the particale only
Your answer
Follow this Question
Related Questions
How to add drift to top down car mechanics? 0 Answers
How to make car accelerate/decelerate over time 2 Answers
Car Steering Relative to Car Speed 2 Answers
Mario Kart Style Drifting 0 Answers