Class PhysicsMaterial

Hierarchy

  • PhysicsMaterial

Constructors

  • Parameters

    • __namedParameters: {
          bounciness: number;
          bouncinessCombine: CoefficientCombineRule;
          density: number;
          friction: number;
          frictionCombine: CoefficientCombineRule;
      } = {}
      • bounciness: number
      • bouncinessCombine: CoefficientCombineRule
      • density: number
      • friction: number
      • frictionCombine: CoefficientCombineRule

    Returns PhysicsMaterial

Accessors

  • get bouncinessCombine(): CoefficientCombineRule
  • Returns CoefficientCombineRule

  • set bouncinessCombine(value: CoefficientCombineRule): void
  • Parameters

    • value: CoefficientCombineRule

    Returns void

  • get frictionCombine(): CoefficientCombineRule
  • Returns CoefficientCombineRule

  • set frictionCombine(value: CoefficientCombineRule): void
  • Parameters

    • value: CoefficientCombineRule

    Returns void