Mut

interface Mut : Collider

Mutable interface for a Collider.

Inheritors

Properties

Link copied to clipboard

The primary, contact-generation, interaction group (see Collider).

Link copied to clipboard
abstract val density: Double

The density of the collider, in kg/m^3.

Link copied to clipboard
abstract val mass: Double

The mass of the collider, in kg.

Link copied to clipboard

The physics properties.

Link copied to clipboard
abstract val parent: RigidBodyKey?

The handle of which body this collider will follow (see Collider).

Link copied to clipboard
abstract val physicsMode: PhysicsMode

The physics mode.

Link copied to clipboard
abstract val position: DIso3

The absolute position of the collider in the physics space, i.e. not relative to its parent body.

Link copied to clipboard
abstract val relativePosition: DIso3

The position of the collider relative to its parent body. Even if the collider has no parent, this will keep the last set relative position.

Link copied to clipboard
abstract val shape: Shape

The shape that this collider takes on in the world.

Link copied to clipboard

The secondary, contact-application, interaction group (see Collider).

Functions

Link copied to clipboard
abstract fun bounds(): DAabb3

The world-space bounding box of this collider, determined by its shape and position.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun mass(value: Collider.Mass): Collider.Mut
Link copied to clipboard
abstract fun material(value: PhysicsMaterial): Collider.Mut
Link copied to clipboard
abstract fun physicsMode(value: PhysicsMode): Collider.Mut
Link copied to clipboard
abstract fun position(value: DIso3): Collider.Mut
Link copied to clipboard
abstract fun relativePosition(value: DIso3): Collider.Mut
Link copied to clipboard
abstract fun shape(value: Shape): Collider.Mut
Link copied to clipboard