Documentation / scene / SphereCollider
Interface: SphereCollider
Defined in: libs/scene/src/animation/spring/spring_collider.ts:24
Sphere collider for spring collision detection
Extends
Properties
node?
optionalnode?:SceneNode
Defined in: libs/scene/src/animation/spring/spring_collider.ts:14
Associated scene node (optional, for dynamic colliders)
Inherited from
enabled
enabled:
boolean
Defined in: libs/scene/src/animation/spring/spring_collider.ts:16
Whether this collider is enabled
Inherited from
type
type:
"sphere"
Defined in: libs/scene/src/animation/spring/spring_collider.ts:25
Type of collider
Overrides
center
center:
Vector3
Defined in: libs/scene/src/animation/spring/spring_collider.ts:27
Center position in world space
radius
radius:
number
Defined in: libs/scene/src/animation/spring/spring_collider.ts:29
Radius of the sphere
localRadius?
optionallocalRadius?:number
Defined in: libs/scene/src/animation/spring/spring_collider.ts:31
Authoring-space radius before node scaling (if node is set)
localRadiusScaleRef?
optionallocalRadiusScaleRef?:number
Defined in: libs/scene/src/animation/spring/spring_collider.ts:33
Baseline world scale captured at creation for backward compatibility
localOffset?
optionallocalOffset?:Vector3
Defined in: libs/scene/src/animation/spring/spring_collider.ts:35
Local offset from node (if node is set)