- Home /
Adjust Cone in a Shuriken Particle System
Hi, all! I have a shotgun effect that works using the cone projection. I'd like to be able to vary the width of the end of the cone of a shuriken particle system via code. Any way to do this? Thanks! - YA
I mean this thing. Is there a way to adjust any of the ends via code? 
Answer by Chronos-L · Apr 08, 2013 at 01:56 AM
I have looked at the documentation on the particle system. As of now, there is no way to do this via code.
I can provide you with an alternative though:
- Place multiple PS with varying cone-width in the same location 
- Assign these PS as an array of PS in your script (perhaps sorted by size, start from the smallest cone size and put the largest in the end?) 
- Fire whichever one you want to the script (either random, or by size if the assigned PS is sorted by cone-size) 
technically you can go through the list of particles and set their velocity manually just after firing them... but I'd definitely recommend the multi-system approach over that particular headache.
Thanks, guys. I as well analyzed the documentation on it and found nothing. I was hoping there'd be something. I'm sure shuriken will grow to be more robust in future releases. I have the effect exactly as I want it, so I'm just going to have to go with @Chronos-L 's approach. Thanks, guys!
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                