I'm trying to rebuild the RE4 controller.
At first, I thought that only the chest bone is used to rotate the pistol towards a target. I have then however found a hack to put the camera in a fixed position so that I could actually see the bone rotations.
Juding the logic that I have recorded, I believe that first a LookAt rotation is used, and then this rotation is spread over the abdomen, abdomen2 and chest bones.
Looking at the video that I have recorded, I think that the rotation is not "divided by 3", but procentually and then again changing towards the limits (for example, at the limits, the rotation is mostly done only by the chest).
Can anybody tell me if my judgement is correct, and if yes, how to split a rotation this way?
Would this be correct?
The chest bone moves the most, the abdomen2 less, and the abdomen bone moves the least. In percentages:
- chest bone: 60%
- abdomen2 bone: 30%
- abdomen bone: 10%
Let's assume a rotation of 200°.
Am I right to assume that the rotation of each bone is calculated like this?
Chest bone: Gets 60% of 200°, that is 120°
Abdomen2 bone: Gets 30% of 200°, that is 60°
Abdomen bone: Gets 10% of 200°, that is 20°.