Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


physicmaterial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
physicmaterial [2021/12/09 12:55]
gondophares created
physicmaterial [2021/12/09 12:55]
gondophares
Line 1: Line 1:
-====== Friction values ======+====== PhysicMaterial ======
  
 +
 +===== Friction values =====
 Physic Material (note the incorrect spelling!) is a small data object that can be attached to Colliders to provide parameters for their collision behavior. Physic Material (note the incorrect spelling!) is a small data object that can be attached to Colliders to provide parameters for their collision behavior.
  
Line 14: Line 16:
  
  
-====== Friction combine ======+===== Friction combine =====
  
 The value µ from the friction calculation above is calculated from both colliding materials. The "friction combine" field determines what calculation is used. If two colliding Physic Materials have different "friction combine" values, the Unity documentation //correctly// states that the order of priority goes Maximum > Multiply > Minimum > Average. //However//, this does not respect the underlying int values of the PhysicMaterialCombine: The value µ from the friction calculation above is calculated from both colliding materials. The "friction combine" field determines what calculation is used. If two colliding Physic Materials have different "friction combine" values, the Unity documentation //correctly// states that the order of priority goes Maximum > Multiply > Minimum > Average. //However//, this does not respect the underlying int values of the PhysicMaterialCombine:
physicmaterial.txt · Last modified: 2021/12/11 21:12 by uninomiconadmin