TrueSync
TSMaterial.cs
1 using UnityEngine;
2 
3 namespace TrueSync {
4 
8  [AddComponentMenu("TrueSync/Physics/TSMaterial", 22)]
9  public class TSMaterial : MonoBehaviour {
10 
14  public FP friction = 0.25f;
15 
19  public FP restitution = 0;
20 
21  }
22 
23 }
Simulates physical properties of a body.
Definition: TSMaterial.cs:9
FP friction
Static friction when in contact.
Definition: TSMaterial.cs:14
FP restitution
Coeficient of restitution.
Definition: TSMaterial.cs:19