Scripting API
Scripting API
BoxCollider3D
Struct in Abyss.Physics3D, from Abyss.Physics3D.
A box an entity meets things with: on its Rigidbody3D, or the nearest one above it, or ground where there is none. The other colliders are on a body the same way. Its size and place in the entity's own units, scaled with it.
public struct BoxCollider3DFields
Size
public Vector3 SizeHow wide, high and deep it is.
Offset
public Vector3 OffsetWhere its middle is, from the entity's.
IsTrigger
public bool IsTriggerWhether it meets nothing.
Material
public AssetRef<PhysicsMaterial3D> MaterialWhat it is made of; none for Physics 3D's settings' default.
Density
public float DensityHow heavy it is for its size, in kilograms a cubic meter: what its body's mass is worked out from where its Rigidbody 3D says Use Auto Mass.
