Documentation / scene / PointRW
Interface: PointRW
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:135
Mutable per-point simulation state.
Properties
positionToTransform
positionToTransform:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:137
Final output position to write back to the transform
positionCurrentTransform
positionCurrentTransform:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:139
Current frame's animated world position (read from transform)
positionPreviousTransform
positionPreviousTransform:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:141
Previous frame's animated world position
positionCurrent
positionCurrent:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:143
Current simulated world position (Verlet integration state)
positionPrevious
positionPrevious:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:145
Previous simulated world position (Verlet integration state)
directionPrevious
directionPrevious:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:147
Previous frame's bone direction (fallback when direction is zero-length)
fakeWindDirection
fakeWindDirection:
Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:149
Interpolated wind direction for fake wave effect
grabberIndex
grabberIndex:
number
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:151
Index of the grabber currently holding this point (-1 = not grabbed)
grabberDistance
grabberDistance:
number
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:153
Distance maintained from grabber center when grabbed
friction
friction:
number
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:155
Accumulated friction from collisions this frame (reset each substep)