Hi guys,
Yes, it is a little confusing in terms of particle designer; for now it is called 'angleOfCreationRange', and it is defined in the particle designer initializer. There isn't really an easy way to access this yet, so this is an 'unsafe' way of doing it; obviously you could do checks to make sure the variable exists first before accessing it:
((PKDesignerInitializer *)[effect.initializers objectAtIndex:0])->angleOfCreationRange = PKRangeMakeFromVariance(M_PI / 4.0f, 0.0f); |
Note that the angle is in radians.
I hope this helps, at least for now.
The property "initializers" is @protected, so I added a setAngleOfCreationRange() method to PXParticleEmitter with your suggested line of code above.
It looks like you're new here. If you want to get involved, click one of these buttons!