sm.physics.types

Physics types are used to define an object's characteristics is in the physics world. Upon a raycast or collision detection, these types are used to find out what object was intersected.

Kind: Constant

Environments: Game

Game

Open the full Game reference

Value Description
"invalid" No object.
"terrainSurface" The ground.
"terrainAsset" Trees and boulders.
"lift" A Lift.
"body" A Body.
"character" A Character.
"joint" A Joint.
"harvestable" A Harvestable.
"vision" A collision area used by sensors.

Returns:

Type Description
table The physics types list.