|
Hi there, I have been looking everywhere for this, but to no avail. Basically, how do you access the mesh variable within the shape module on the new Shuriken particle emitters? The current documentation on Shuriken in the script reference (here: http://unity3d.com/support/documentation/ScriptReference/ParticleSystem.html) has no reference to variables in other modules other than the Initial Module. The reason I'd like to access it through script is because I am wanting to procedurally generate meshes for volumetric cloud systems. If there is actually no way to access it, well I suppose I'd need to go back to the drawing board ... Sorry for the long post size ... I'm not great at being succinct! :D Thanks very much, Klep
(comments are locked)
|
|
I'm using Unity 4, and this doesn't seem to be in yet. I can't find documentation for it either. I'm fairly annoyed that "legacy" is used to describe the only fully-functional particle system. I would have gone with the old system from the get-go with if wasn't called "Legacy" and Shuriken was called "Beta" instead.
(comments are locked)
|
|
Is this still not supported?
(comments are locked)
|

So is there absolutely no way to access this variable?
I know that this will be a shameless BUMP, but this still affects me. Maybe it has some relevance now that 3.5 has been out for quite some time?
well, I dont want to dissapoint you, but, you cant, i had the same problem, BUT , it will be added soon as I read in unity forums from the Unity HQ Coppenhagen : "In the next release of Shuriken this will be possible. Shuriken will use the transform.scale for emitter size."
Oh really? Oh, that's great! OK ... well I've delayed what i wanted to do with it already for a few months, so I guess a few more months won't hurt.
There was no disappointing done ... I kinda expected it :D
Thanks anyway!
If you're just trying to dynamically change the scale of the effect you can do this with an animation curve that modifies the scale properties of the emitter. You can create an animation that blends between your minimum and maximum size, and then procedurally set the current time of the animation (AnimationState.normalizedTime) to select the desired scale. A little indirect, but it works for the particular use case of resizing the effect.