Skip to content

Documentation / scene / sortRootPointsByProximity

Function: sortRootPointsByProximity() ​

sortRootPointsByProximity(roots, ignoreY, fixedBeginEnd): BoneNode[]

Defined in: libs/scene/src/animation/joint_dynamics/constraints.ts:307

Sorts root points by proximity to the supplied reference position.

Parameters ​

roots ​

BoneNode[]

ignoreY ​

boolean

fixedBeginEnd ​

boolean

Returns ​

BoneNode[]

Released under the MIT License.