Hey,
I’m working on an AR project with pose detection, and the AI outputs a series of points in space, but does not outputs rotation.
I need to be able to calculate the rotation of the spine, based on the position of the hip bones.
The AI keeps the hip pinned, and rotates the side hip bones (3 and 4) around the center. I need to find what is the rotation of the center bone (5).
Any ideas?
I forgot to mention! Since it’s a spine, the bone 5 should always be pointing forward, so what I need is to know how much it rotated based on the (3) and (4) movement.
Basically if you look in 3D this is what is happening:
I need to know the rotation around the yellow axis, with the blue axis pointing forward, based on the position of the two red points that rotate around the green point.
I don’t know if I made this more complicated hahaha it’s just killing me!