Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Maximum

Uses a Maximum algorithm when combining friction or bounciness i.e. the maximum of the two values is used.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Maximum = 4

Remarks

Given two friction or bounciness values, the Maximum algorithm used is:
valueA > valueB ? valueA : valueB
.