TouchSide

value class TouchSide(source)

One side of a Touch: a rigid body, a soft body, a particle or the level, as kind says.

toString gives the kind and the handle, for example TouchSide(RigidBody(3)) or TouchSide(SOLIDS).

Types

Link copied to clipboard
object Companion

Builds the side a body, a particle or the level is in a touch.

Properties

Link copied to clipboard

What this side is.

Functions

Link copied to clipboard

Returns this side as the particle it is.

Link copied to clipboard

Returns this side as the rigid body it is.

Link copied to clipboard

Returns this side as the soft body it is.

Link copied to clipboard
open override fun toString(): String