Hi,
I have a skeletal figure for animation. I have it set in the t-pose and I am quite confused about something. When I apply a rotation on the Y axis of 90 degrees, the left arm seems rotate inwards, while the right arm seems to go backwards.
I am completely unsure as to what might cause this kind of an issue and would appreciate any insight into what might be causing this and potential areas I could look into for checking.
![CDN media](https://preview.redd.it/ucynq2ofkj4c1.png?width=702&format=png&auto=webp&s=4723713ff2b13c8f62dcb7f3133edf73736e2816)
auto offsetMatrix = Mat4::Translate(vec3(offset_from_parent.x, offset_from_parent.y, offset_from_parent.z));
auto rotation = Mat4::RotateY(90.0f); // returns y rotation matrix with rotation in radians
auto global = Mat::Identity();
// Apply rotation only to the left and right arm
if(joint->jointName == "LeftArm" || joint->jointName == "RightArm")
{
global = parentMatrix * offsetMatrix * rotation;
}