Writes the rotation taking up onto the direction of bone index into out.
Use it to orient a mesh along a bone, passing whichever axis the mesh is modelled along - up
is [0, 1, 0] for a cylinder or capsule built along Y. The roll about the bone is arbitrary.
Writes the rotation taking
uponto the direction of boneindexintoout.Use it to orient a mesh along a bone, passing whichever axis the mesh is modelled along -
upis[0, 1, 0]for a cylinder or capsule built along Y. The roll about the bone is arbitrary.