public override void Update(Particle part) { Vector2 force = point - part.position; MathExtra.SetVectorLength(ref force, strength); part.AddForce(force); }
public override void Update(Particle part) { part.AddForce(force); }