Static Body - Usage - User Manual - Documents - Truss Physics
/ Documents / User Manual / Usage / Static Body >

Static Body

Description

Static body component

Details

Static bodies are used to define the collision shapes of the scene. To create a static body select an object on the scene and use Edit>Truss Physics>Add Component>Tx Static Body menu command. If the object already has Unity’s Collider component the static body will be set up to inherit its parameters.

Static body inspector

Fields

CollisionCollision shape type
MeshMesh asset
TerrainTerrainData asset
Box CenterBox collider center
Box SizeBox collider size
Capsule CenterCapsule collider center
Capsule RadiusCapsule collider radius
Capsule HeightCapsule collider height
Capsule AxisCapsule collider axis orientation
Sphere CenterSphere collider center
Sphere RadiusSphere collider radius
MarginCollision margin
MattersArray of matters
Spawn EnabledSpawn enabled flag
Group RootGroup root flag
Group LayersGroup layers list
Group CollisionGroup collision matrix
Group LayerGroup layer