Jump to content

Constant camera offset

By Miens
in Interface

Recommended Posts

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

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

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

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

×
×
  • Create New...