public Spring2d(Particle2dBase particle, Particle2dBase other, Single springConstant, Single restLength) : base(particle) { _other = other; _springConstant = springConstant; _restLength = restLength; }
public AnchoredSpring2d(Particle2dBase particle, Vector2 anchor, Single springConstant, Single restLength) : base(particle) { Anchor = anchor; SpringConstant = springConstant; RestLength = restLength; }
public Buoyancy2d(Particle2dBase particle, Single maxDepth, Single volume, Single waterHeight, Single liquidDensity = 1000.0f) : base(particle) { _maxDepth = maxDepth; _volume = volume; _waterHeight = waterHeight; _liquidDensity = liquidDensity; }
public AnchoredBungee2d(Particle2dBase particle, Vector2 anchor, Single springConstant, Single restLength) : base(particle, anchor, springConstant, restLength) { }
public Gravity2d(Particle2dBase particle, Vector2 gravity) : base(particle) { _gravity = gravity; }
protected ForceGenerator2dBase(Particle2dBase particle) { Particle = particle; }
public Friction2d(Particle2dBase particle) : base(particle) { }
public Drag2d(Particle2dBase particle, Single k1, Single k2) : base(particle) { _k1 = k1; _k2 = k2; }