Skip to content

Documentation / scene / PointInit

Interface: PointInit

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

Input point data for low-level initialization.

Properties

parent

parent: number

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

Parent point index (-1 = no parent)


child

child: number

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

Child point index (-1 = no child)


movableLimitIndex

movableLimitIndex: number

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

Index into movable limit targets array (-1 = none)


applyInvertCollision

applyInvertCollision: number

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

Whether to respond to inverse colliders (0 or 1)


movableLimitRadius

movableLimitRadius: number

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

Movable limit sphere radius


weight

weight: number

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

0 = fixed, 1 = dynamic


mass

mass: number

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

Point mass


resistance

resistance: number

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

Velocity damping [0-1]


hardness

hardness: number

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

Restore-to-animation stiffness [0-1]


frictionScale

frictionScale: number

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

Friction scale multiplier


sliderJointLength

sliderJointLength: number

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

Extra slack for horizontal/shear stretch


fakeWavePower

fakeWavePower: number

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

Fake wave amplitude


fakeWaveFreq

fakeWaveFreq: number

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

Fake wave frequency offset


parentLength

parentLength: number

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

Distance to parent point


structuralShrinkVertical

structuralShrinkVertical: number

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

Structural vertical shrink stiffness


structuralStretchVertical

structuralStretchVertical: number

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

Structural vertical stretch stiffness


structuralShrinkHorizontal

structuralShrinkHorizontal: number

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

Structural horizontal shrink stiffness


structuralStretchHorizontal

structuralStretchHorizontal: number

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

Structural horizontal stretch stiffness


shearShrink

shearShrink: number

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

Shear shrink stiffness


shearStretch

shearStretch: number

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

Shear stretch stiffness


bendingShrinkVertical

bendingShrinkVertical: number

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

Bending vertical shrink stiffness


bendingStretchVertical

bendingStretchVertical: number

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

Bending vertical stretch stiffness


bendingShrinkHorizontal

bendingShrinkHorizontal: number

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

Bending horizontal shrink stiffness


bendingStretchHorizontal

bendingStretchHorizontal: number

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

Bending horizontal stretch stiffness


windForceScale

windForceScale: number

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

Wind force multiplier


pointRadius

pointRadius: number

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

Collision radius


gravity

gravity: Vector3

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

Gravity vector


boneAxis

boneAxis: Vector3

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

Local-space bone axis direction


position

position: Vector3

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

Initial world position


direction

direction: Vector3

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

Initial direction

Released under the MIT License.