Miens Posted July 4, 2016 Share Posted July 4, 2016 Hi guys, in my project I want the camera to be in exact same position and rotation in relation to player. I coudnt find any tutorials on this topic and when i looked at camera page in wow dev wiki I coudnt figure anything out by myself. Does anyone have any idea where I should be looking to find some articles on this topic? Or can anyone help me in any other way? Thanks Link to comment Share on other sites More sharing options...
Skarn Posted July 4, 2016 Share Posted July 4, 2016 As far as I know it is possible to get player's lookat, so you need to set your camera yaw and pitch to this value with some memory editing or better a .dll inject. You can find the information about WoW memory offsets on Ownedcore I think. Link to comment Share on other sites More sharing options...
Alastor StrixEfuartus Posted July 4, 2016 Share Posted July 4, 2016 Its possible with LUA too No matter how fast light travels it finds the darkness has always got there first and is waiting for it PATREON | TWITCH | MC.net | YOUTUBE | PAYPAL |BUY SOME OF MY 3D MODELS Star Citizen Referral Code : STAR-XNFS-HVL9 - Register using my code and recieve free 5,000 UEC Link to comment Share on other sites More sharing options...
Miens Posted July 4, 2016 Author Share Posted July 4, 2016 Hey guys, thanks for quick reply. Alastor can u elaborate a little about code you highlighted? Where is it located? Can I access or edit it? Link to comment Share on other sites More sharing options...
Skarn Posted July 4, 2016 Share Posted July 4, 2016 Just now, Miens said: Hey guys, thanks for quick reply. Alastor can u elaborate a little about code you highlighted? Where is it located? Can I access or edit it? It is the so-called World of Warcraft API functions. You can acess them with LUA addons and FrameXML, I guess. Protected functions can be accessed with some hack as far as I remember. Link to comment Share on other sites More sharing options...
Miens Posted July 4, 2016 Author Share Posted July 4, 2016 With this api I am able to set camera at certain position but how do I keep camera in place? Even if player has moved / rotated (using a/d keys)? Is it doable using this api? Link to comment Share on other sites More sharing options...
Skarn Posted July 5, 2016 Share Posted July 5, 2016 I'd recommend you doing it with memory editing. Link to comment Share on other sites More sharing options...
Constant camera offset
By Miensin Interface
Recommended Posts