16-04-2018, 10:36 PM
(16-04-2018, 08:09 PM)jabza Wrote: Just to add to this, does Oni.AddParticleExternalForce apply the force provided evenly accross all particles?
IE: If my custom force magnitude is 10, and I have 2 particles, does each particle recieve a force of magnitude 5, or 10?
And finally, am I expected to provide my force * Time.fixedDeltaTime, or is the timestep accounted for in Oni?
Thanks again!
Hi there,
Forces always are applied over a given time (usually fixedDeltaTime). You don't need to multiply them by the delta yourself. If they were applied instantly they would not be called forces, but impulses .
The force you pass is applied to all particles, it does not get divided by the amount of particles. In your example, both particles would receive a force of 10.