====== PhysicMaterial (UnityComponent) ====== [[https://docs.unity3d.com/2018.3/Documentation/Manual/class-PhysicMaterial.html | Physic Material]] is used to give an object physical property like impact and friction. (like bounce when hit) ===== Unity manual & tutorial ===== * [[https://docs.unity3d.com/2018.3/Documentation/Manual/class-PhysicMaterial.html | Physic Material (Unity manual)]] * [[https://learn.unity.com/tutorial/3d-physics#5c7f8528edbc2a002053b511 | Physics Materials (Tutorial)]] ===== Summary of Physic Material in VCI ===== * If this is set on a [[en:vci:component:unitycomponent:collider|Collider]], it will be applied to the exported VCI. ===== Properties ===== ^ Property ^ Feature^ | Dynamic Friction | The friction applied to moving object.\\ Basically, use a value between 0 and 1. Smaller the value, slippery the object will be, higher the value, sticky the object will be. | | Static Friction | The friction applied to an object resting on a surface.\\ Higher the value, the more power is required to move the object. | | Bounciness | The elasticity of the surface. Higher the value, lesser the energy lost when the object bounces.\\ The value of 1 means, the object bounces without losing any energy. | | Friction Combine | How to process the friction between colliding objects. | | Average | The two friction forces are averaged. | | Minimum | Smaller of the two friction forces is used. | | Maximum | Higher of the two friction forces is used. | | Multiply | The two friction forces are multiplied with each other. | | Bounce Combine | How to process the bounciness between colliding objects.\\ The same as the FrictionCombine. | ---- ==== VCI examples ==== *