Type Function Object ParticleSystem Library physics.* Return value none Revision 2017.3060 Keywords applyForce, physics, LiquidFun See also physics.newParticleSystem() object:applyLinearImpulse()
A function that accepts x and y components of a linear force in newtons, applied to the center of each particle in a ParticleSystem.
particleSystem:applyForce( xForce, yForce )
Numbers. Amount of force to apply in the x and y directions respectively.
particleSystem:applyForce( 0, -9.8 * particleSystem.particleMass )