游戏狂人
 
- 贡献度
- 0
- 金元
- 17490
- 积分
- 1749
- 精华
- 0
- 注册时间
- 2014-12-27
|
原文:I've been trying to write a free camera script (flycam) for Kuro no Kiseki (currently v1.02 on Steam, Clouded Leopard Entertainment). I have located camera X,Y,Z coordinates, and successfully locked them by NOP'ing the write instructions. I have looked for hours and cannot find pitch, yaw and roll.
There are other values in the structure with XYZ. I think at least some of them are the rotation matrix used to aim the camera, because if I NOP the other 6 instructions along with write XYZ, the camera no longer rotates when the player moves. I can walk off screen without issue. However, as soon as I change a value (for example Z), the camera will re-aim itself to look at the player. I have tried tracing backwards to try to find the values used to calculate the rotation matrix, but I cannot find anything of use.
If anyone can help me, I would be thankful!! |
|