TrueSync
Main Page
Packages
Classes
Files
File List
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
}
TrueSync.TSMaterial
Simulates physical properties of a body.
Definition:
TSMaterial.cs:9
TrueSync.TSMaterial.friction
FP friction
Static friction when in contact.
Definition:
TSMaterial.cs:14
TrueSync.TSMaterial.restitution
FP restitution
Coeficient of restitution.
Definition:
TSMaterial.cs:19
TrueSync
Definition:
LayerCollisionMatrix.cs:3
UnityEngine
Generated by
1.8.11