26-06-2017, 05:12 PM
Hey there, I'm sure I'm overlooking something simple here.
I'm trying to apply custom forces to particles.
So what I did is basically duplicate the ObiSphericalForceZone, since it contains the relevant calls to Oni.AddParticleExternalForces.
However, no matter what I do, this custom script does not apply any forces to the particles.
Is there some magic thing I have to do to make Obi use these custom forces?
Otherwise, I have to put the code directly into the SphericalForceZone or AmbientForceZone, which I'd like to avoid since I am using both already.
I'm trying to apply custom forces to particles.
So what I did is basically duplicate the ObiSphericalForceZone, since it contains the relevant calls to Oni.AddParticleExternalForces.
However, no matter what I do, this custom script does not apply any forces to the particles.
Is there some magic thing I have to do to make Obi use these custom forces?
Otherwise, I have to put the code directly into the SphericalForceZone or AmbientForceZone, which I'd like to avoid since I am using both already.