Skip to content

Documentation / scene / SpringCollider

Interface: SpringCollider ​

Defined in: libs/scene/src/animation/spring/spring_collider.ts:10

Base interface for spring collision shapes

Extended by ​

Properties ​

type ​

type: "sphere" | "capsule" | "plane"

Defined in: libs/scene/src/animation/spring/spring_collider.ts:12

Type of collider


node? ​

optional node?: SceneNode

Defined in: libs/scene/src/animation/spring/spring_collider.ts:14

Associated scene node (optional, for dynamic colliders)


enabled ​

enabled: boolean

Defined in: libs/scene/src/animation/spring/spring_collider.ts:16

Whether this collider is enabled

Released under the MIT License.