Skip to content

Documentation / scene / GPUClothColliderConfig

Type Alias: GPUClothColliderConfig ​

GPUClothColliderConfig = object

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:17

Serialized collider used by GPUClothComponent.

Properties ​

type ​

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

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:18


enabled? ​

optional enabled?: boolean

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:19


nodeId? ​

optional nodeId?: string

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:20


offset? ​

optional offset?: [number, number, number]

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:21


endOffset? ​

optional endOffset?: [number, number, number]

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:22


radius? ​

optional radius?: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:23


normal? ​

optional normal?: [number, number, number]

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:24

Released under the MIT License.