Skip to content

Documentation / scene / PointInit

Interface: PointInit

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

Input point data for low-level initialization.

Properties

parent

parent: number

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

Parent point index (-1 = no parent)


child

child: number

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

Child point index (-1 = no child)


movableLimitIndex

movableLimitIndex: number

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

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


applyInvertCollision

applyInvertCollision: number

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

Whether to respond to inverse colliders (0 or 1)


movableLimitRadius

movableLimitRadius: number

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

Movable limit sphere radius


weight

weight: number

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

0 = fixed, 1 = dynamic


mass

mass: number

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

Point mass


resistance

resistance: number

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

Velocity damping [0-1]


hardness

hardness: number

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

Restore-to-animation stiffness [0-1]


frictionScale

frictionScale: number

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

Friction scale multiplier


sliderJointLength

sliderJointLength: number

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

Extra slack for horizontal/shear stretch


fakeWavePower

fakeWavePower: number

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

Fake wave amplitude


fakeWaveFreq

fakeWaveFreq: number

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

Fake wave frequency offset


parentLength

parentLength: number

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

Distance to parent point


structuralShrinkVertical

structuralShrinkVertical: number

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

Structural vertical shrink stiffness


structuralStretchVertical

structuralStretchVertical: number

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

Structural vertical stretch stiffness


structuralShrinkHorizontal

structuralShrinkHorizontal: number

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

Structural horizontal shrink stiffness


structuralStretchHorizontal

structuralStretchHorizontal: number

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

Structural horizontal stretch stiffness


shearShrink

shearShrink: number

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

Shear shrink stiffness


shearStretch

shearStretch: number

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

Shear stretch stiffness


bendingShrinkVertical

bendingShrinkVertical: number

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

Bending vertical shrink stiffness


bendingStretchVertical

bendingStretchVertical: number

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

Bending vertical stretch stiffness


bendingShrinkHorizontal

bendingShrinkHorizontal: number

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

Bending horizontal shrink stiffness


bendingStretchHorizontal

bendingStretchHorizontal: number

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

Bending horizontal stretch stiffness


windForceScale

windForceScale: number

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

Wind force multiplier


pointRadius

pointRadius: number

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

Collision radius


gravity

gravity: Vector3

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

Gravity vector


boneAxis

boneAxis: Vector3

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

Local-space bone axis direction


position

position: Vector3

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

Initial world position


direction

direction: Vector3

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

Initial direction

Released under the MIT License.