Skip to content

Documentation / scene / ColliderRW

Interface: ColliderRW

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:204

Mutable collider runtime state.

Properties

positionCurrent

positionCurrent: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:206

Current interpolated head position (for this substep)


directionCurrent

directionCurrent: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:208

Current interpolated capsule direction vector (head→tail)


boundsCenter

boundsCenter: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:210

World-space broad-phase center for current collider


boundsRadius

boundsRadius: number

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:212

World-space broad-phase radius for current collider


positionCurrentTransform

positionCurrentTransform: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:214

This frame's world position (read from transform)


positionPreviousTransform

positionPreviousTransform: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:216

Previous frame's world position


directionCurrentTransform

directionCurrentTransform: Quaternion

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:218

This frame's world rotation (read from transform)


directionPreviousTransform

directionPreviousTransform: Quaternion

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:220

Previous frame's world rotation


worldToLocal

worldToLocal: Matrix4x4

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:222

World-to-local matrix for AABB bounds computation


worldScale

worldScale: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:224

World-space scale of the collider node (product of all ancestor scales × own local scale)


localBoundsMin

localBoundsMin: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:226

Local-space AABB min corner


localBoundsMax

localBoundsMax: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:228

Local-space AABB max corner


radius

radius: number

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:230

Scaled radius for current frame (base radius × world scale)


height

height: number

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:232

Scaled capsule height for current frame (base height times world scale)


enabled

enabled: number

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:234

Whether this collider is active (0 = disabled, 1 = enabled)

Released under the MIT License.