Scripting API
Scripting API
CapsuleCollider3D
Struct in Abyss.Physics3D, from Abyss.Physics3D.
A capsule an entity meets things with: a cylinder with a half ball at each end, a character's. Its radius is scaled by the larger of the entity's scales across it, its height by the scale along it.
public struct CapsuleCollider3DFields
Radius
public float RadiusHow far its surface is from the line down its middle.
Height
public float HeightHow long it is end to end, its round ends among it; a ball where no longer than it is wide.
Direction
public CapsuleDirection3D DirectionWhich of the entity's own axes it lies along.
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.
