Thread Tools Display Modes
10-19-13, 02:20 PM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Lock/Unlock Camera View

I'm not sure why but after upgrading to Windows 8.1 I'm having a terrible time with the camera position changing when I click on things in the environment.

This is especially bad when doing the "Water, Water Everywhere" daily quest from Farmer Fung. I set the camera to a directly overhead view, turn off the UI (Alt-Z), and then use the "1" key to get a target reticule and left-click to drop the bucket. The camera used to stay where I put it but now, it will change the view (drastically) on some of my clicks.

Would it be possible to create an addon that locked and unlocked the camera? If so, any hints as to what I'd need to do?
  Reply With Quote
10-19-13, 08:02 PM   #2
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Don't know what's causing this, but maybe you could try those: http://wowprogramming.com/docs/api_categories#camera You could just try in a macro to see whether they solve your issues.
  Reply With Quote
10-19-13, 08:09 PM   #3
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
I've looked at the camera API functions but I think the problem is that left-click and right-click can both modify the camera position and I don't know how to stop that. None of the camera API functions seems to be appropriate.
  Reply With Quote
10-20-13, 04:18 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Double-check your Camera settings in the game's Interface Options window. If you reinstalled WoW, you were given the game's current default settings -- even if you were using the default settings before, the default settings may have been changed since then. Try turning off the follow terrain, adjust while moving, and similar options and see if that helps.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
10-20-13, 10:11 AM   #5
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Originally Posted by Phanx View Post
Double-check your Camera settings in the game's Interface Options window. If you reinstalled WoW, you were given the game's current default settings.
I did not reinstall WoW, I just upgraded from Windows 8 to Windows 8.1. I did double-check the Interface Options Camera settings and as far as I can tell, nothing changed.

I moved to a different system with Windows 7 (64-bit) with exactly the same addons and it doesn't happen. BTW, this system is on a KVM with the 8.1 system so the exact same mouse and keyboard were used.

On the Windows 8.1 system, I turned on the Framestack and see nothing out of the ordinary when the camera is mysteriously moved. I disabled all addons and the mysterious camera movement still occurs.

All of this leads me to believe its a Windows 8.1 related problem but until either Blizzard and/or Microsoft make a change, I'm stuck with it. This system is a substantial upgrade from my previous system and for my day job I need to stay with 8.1. This brings me back to my original question, can I program around the problem with an addon?
  Reply With Quote
10-20-13, 10:30 AM   #6
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
You can try positioning the camera as you want it then do
SaveView(5)
and SetView(5)
If the macro works to lock the camera you could make a small addon for it.

Could even go as far as making the SetView() auto-repeat while the interface is hidden or put a toggle to turn 'camera lock' mode on/off.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Lock/Unlock Camera View


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off