Skip to content

Documentation / scene / ColliderRW

Interface: ColliderRW ​

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

Mutable collider runtime state.

Properties ​

positionCurrent ​

positionCurrent: Vector3

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

Current interpolated head position (for this substep)


directionCurrent ​

directionCurrent: Vector3

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

Current interpolated capsule direction vector (head→tail)


boundsCenter ​

boundsCenter: Vector3

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

World-space broad-phase center for current collider


boundsRadius ​

boundsRadius: number

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

World-space broad-phase radius for current collider


positionCurrentTransform ​

positionCurrentTransform: Vector3

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

This frame's world position (read from transform)


positionPreviousTransform ​

positionPreviousTransform: Vector3

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

Previous frame's world position


directionCurrentTransform ​

directionCurrentTransform: Quaternion

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

This frame's world rotation (read from transform)


directionPreviousTransform ​

directionPreviousTransform: Quaternion

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

Previous frame's world rotation


worldToLocal ​

worldToLocal: Matrix4x4

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

World-to-local matrix for AABB bounds computation


worldScale ​

worldScale: Vector3

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

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:220

Local-space AABB min corner


localBoundsMax ​

localBoundsMax: Vector3

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

Local-space AABB max corner


radius ​

radius: number

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

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


height ​

height: number

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

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


enabled ​

enabled: number

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

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

Released under the MIT License.