documentation
.HELP!
TrueSync Documentation
TrueSync: TSMaterial.cs Source File
TrueSync
previous page
next page
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
previous page
start
next page
Menu
Homepage
Table of contents
TrueSync version 1.1.0
Packages
Packages
TrueSync
Classes
Class List
TrueSync
IBody
Checkum
TSDisabled
LayerCollisionMatrix
PhotonTrueSyncCommunicator
AddEventListener
OpRaiseEvent
RoundTripTime
Physics2DWorldManager
AddBody
GetBodyLayer
GetGameObject
GetWorld
GetWorldClone
Init
IsCollisionEnabled
OnRemoveBody
Raycast
RaycastAll
RemoveBody
UpdateStep
Gravity
LockedTimeStep
SpeculativeContacts
PhysicsManager
PhysicsType
W_2D
W_3D
PhysicsWorldManager
AddBody
GetBodyLayer
GetGameObject
GetWorld
GetWorldClone
Init
IsCollisionEnabled
OnRemoveBody
Raycast
Raycast
RemoveBody
UpdateStep
Gravity
LockedTimeStep
SpeculativeContacts
TrueSyncBehaviour
OnGameEnded
OnGamePaused
OnGameUnPaused
OnPlayerDisconnection
OnPreSyncedUpdate
OnSyncedInput
OnSyncedStart
OnSyncedStartLocalPlayer
OnSyncedUpdate
SetGameInfo
localOwner
numberOfPlayers
owner
ownerIndex
tsCollider
tsCollider2D
tsRigidBody
tsRigidBody2D
tsTransform
tsTransform2D
TrueSyncConfig
TrueSyncConfig
GetIgnoreLayerCollision
gravity2D
gravity3D
lockedTimeStep
panicWindow
physics2DEnabled
physics2DIgnoreMatrix
physics3DEnabled
physics3DIgnoreMatrix
rollbackWindow
showStats
speculativeContacts2D
speculativeContacts3D
syncWindow
TrueSyncManager
customConfig
playerPrefabs
ActiveConfig
TSBoxCollider
CreateShape
DrawGizmos
GetGizmosSize
Reset
size
TSBoxCollider2D
CreateShape
DrawGizmos
GetGizmosSize
Reset
size
TSCapsuleCollider
CreateShape
DrawGizmos
GetGizmosSize
length
radius
TSCircleCollider2D
CreateShape
DrawGizmos
GetGizmosSize
Reset
radius
TSCollider
Awake
CreateShape
DrawGizmos
GetGizmosSize
Initialize
OnDrawGizmos
Update
lossyScale
tsMaterial
tsTransform
attachedRigidbody
Body
bounds
Center
IsBodyInitialized
isTrigger
ScaledCenter
Shape
TSCollider2D
Awake
CreateShape
CreateShapes
DrawGizmos
GetGizmosSize
Initialize
OnDrawGizmos
Update
lossyScale
tsMaterial
tsTransform
attachedRigidbody
Body
Center
IsBodyInitialized
isTrigger
ScaledCenter
Shape
TSCollision
collider
contacts
gameObject
relativeVelocity
rigidbody
transform
TSCollision2D
collider
contacts
gameObject
relativeVelocity
rigidbody
transform
TSContactPoint
normal
point
TSContactPoint2D
normal
point
TSMaterial
friction
restitution
TSMeshCollider
CreateShape
DrawGizmos
GetGizmosSize
Reset
Indices
Mesh
Vertices
TSPhysics2D
TSCapsuleDirection2D
VERTICAL
HORIZONTAL
TSPolygonCollider2D
CreateShapes
DrawGizmos
GetGizmosSize
points
TSRay
TSRay
direction
origin
TSRaycastHit
TSRaycastHit
collider
distance
normal
point
rigidbody
transform
TSRaycastHit2D
TSRaycastHit2D
collider
rigidbody
transform
TSRigidBody
InterpolateMode
None
Interpolate
Extrapolate
AddForce
AddForce
AddForceAtPosition
AddForceAtPosition
AddTorque
GetPointVelocity
LookAt
MovePosition
MoveRotation
interpolation
angularDrag
angularVelocity
constraints
drag
isKinematic
mass
position
rotation
tsCollider
tsTransform
useGravity
velocity
TSRigidBody2D
InterpolateMode
None
Interpolate
Extrapolate
AddForce
AddForce
AddForceAtPosition
AddForceAtPosition
AddTorque
GetPointVelocity
MovePosition
MoveRotation
freezeZAxis
interpolation
angularDrag
angularVelocity
drag
isKinematic
mass
position
rotation
tsCollider
tsTransform
useGravity
velocity
TSSphereCollider
CreateShape
DrawGizmos
GetGizmosSize
Reset
radius
TSTerrainCollider
CreateShape
DrawGizmos
GetGizmosSize
Resolution
Size
TSTransform
Initialize
LookAt
LookAt
Rotate
Rotate
Rotate
Rotate
Rotate
Rotate
RotateAround
RotateAround
Start
Translate
Translate
Translate
Translate
Translate
Translate
Update
tsCollider
tsParent
eulerAngles
forward
position
right
rotation
scale
scaledCenter
up
TSTransform2D
Initialize
Start
Update
tsCollider
tsParent
position
rotation
scale
scaledCenter
UnityUtils
PlayerComparer
Compare
TSBody2DComparer
Compare
TSBodyComparer
Compare
ICommunicator
AddEventListener
OpRaiseEvent
RoundTripTime
Class Index
Class Hierarchy
Comparer
TrueSync.UnityUtils.PlayerComparer
TrueSync.UnityUtils.TSBody2DComparer
TrueSync.UnityUtils.TSBodyComparer
TrueSync.IBody
ICollider
TrueSync.TSCollider
TrueSync.TSBoxCollider
TrueSync.TSCapsuleCollider
TrueSync.TSMeshCollider
TrueSync.TSSphereCollider
TrueSync.TSTerrainCollider
TrueSync.TSCollider2D
TrueSync.TSBoxCollider2D
TrueSync.TSCircleCollider2D
TrueSync.TSPolygonCollider2D
ICommunicator
TrueSync.PhotonTrueSyncCommunicator
IPhysicsManager
TrueSync.Physics2DWorldManager
TrueSync.PhysicsWorldManager
ITrueSyncBehaviourCallbacks
TrueSync.TrueSyncBehaviour
ITrueSyncBehaviourGamePlay
TrueSync.TrueSyncBehaviour
TrueSync.LayerCollisionMatrix
MonoBehaviour
TrueSync.TrueSyncBehaviour
TrueSync.TrueSyncManager
TrueSync.TSCollider
TrueSync.TSCollider2D
TrueSync.TSMaterial
TrueSync.TSRigidBody
TrueSync.TSRigidBody2D
TrueSync.TSTransform
TrueSync.TSTransform2D
TrueSync.PhysicsManager
ScriptableObject
TrueSync.TrueSyncConfig
TrueSync.TSCollision
TrueSync.TSCollision2D
TrueSync.TSContactPoint
TrueSync.TSContactPoint2D
TrueSync.TSPhysics2D
TrueSync.TSRay
TrueSync.TSRaycastHit
TrueSync.TSRaycastHit2D
TrueSync.UnityUtils
Class Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
Variables
Enumerations
Properties
Files
File List
Core
IBody.cs
ICommunicator.cs
LayerCollisionMatrix.cs
PhotonTrueSyncCommunicator.cs
Physics2DWorldManager.cs
PhysicsManagerFactory.cs
PhysicsWorldManager.cs
TrueSyncBehaviour.cs
TrueSyncConfig.cs
TrueSyncManager.cs
TSBoxCollider.cs
TSBoxCollider2D.cs
TSCapsuleCollider.cs
TSCircleCollider2D.cs
TSCollider.cs
TSCollider2D.cs
TSCollision.cs
TSCollision2D.cs
TSMaterial.cs
TSMeshCollider.cs
TSPhysics2D.cs
TSPolygonCollider2D.cs
TSRay.cs
TSRaycastHit.cs
TSRaycastHit2D.cs
TSRigidBody.cs
TSRigidBody2D.cs
TSSphereCollider.cs
TSTerrainCollider.cs
TSTransform.cs
TSTransform2D.cs
UnityUtils.cs
Get in touch
Submit feedback about this site to:
[email protected]