marpis
2011-01-11 10:37:09
Is it possible to get the correct camera angle with reflection?
2011-01-11 10:37:09
2011-01-11 10:59:30
2011-01-11 20:44:04
From: J_Pizzle
I think its "cam yaw" divided by 45, not 100% on that anymore though.
2011-01-12 03:28:48
From: pyroryan
camYaw*16384/360
camYaw*45.511111111111111111111111111111111
If I recall.
2011-01-12 04:42:02
From: marpis
What is this "camYaw"?
hook_static_CameraYaw = 'gl.l'; //634
So after you added that to hooks.simba, the code to get it would be:
SmartGetFieldInt(0, hook_static_CameraYaw);
Then carry out the necessary operations. Out of curiosity, why is this in Dev's Corner?
2011-01-13 14:24:33
From: pyroryan
Below. Not something that was in the reflection hooks. But if you need it, I'll be happy to add it.So after you added that to hooks.simba, the code to get it would be:
hook_static_CameraYaw = 'gl.l'; //634Then carry out the necessary operations. Out of curiosity, why is this in Dev's Corner?
SmartGetFieldInt(0, hook_static_CameraYaw);