Am I going nuts or is the only way to access the ellipsoid vector property of an EllipsoidParticleEmitter via the inspector? The documentation has the ellipsoid property listed but it doesn’t appear to be able to be reached via code…in fact, there doesn’t even appear to be an EllipsoidParticleEmitter class, only ParticleEmitter.
The explicit emitter implementation are indeed only editor configurable, no access to them through code.
Interesting. I am guessing that it is using a mesh particle emitter behind the scenes and just tossing a sphere in there. Any clue if that is accurate?
Unlikely; it would be simpler and faster to just use Random.insideUnitSphere, especially since it’s a “solid” sphere, whereas a mesh particle emitter only emits from the surface.
–Eric
Good point. I wonder what the reasoning for making ellipsoid editor only is then…
I don’t think so as the mesh particle emitter is likely responsible for emission from mesh surfaces.
What I think is that the specialized area emitters potentially emit particles and modify their positions right after emission.
I would assume the same as the other editor-only things: just that nobody has got around to making the scripting interface yet. I do hope someday 100% of everything is exposed to scripting.
–Eric