Module org.dyn4j

Interface CoefficientMixer

  • All Superinterfaces:
    ValueMixer

    @Deprecated
    public interface CoefficientMixer
    extends ValueMixer
    Deprecated.
    Deprecated in 4.2.0. Use the ValueMixer interface instead.
    Interface used to customize the way friction and restitution coefficients are mixed.

    The ValueMixer.DEFAULT_MIXER performs the following operations for friction and restitution mixing respectively:

     sqrt(friction1 * friction2)
     max(restitution1, restitution2)
    Since:
    1.0.0
    Version:
    4.2.0
    Author:
    William Bittle