Mouse & Resolution/Scale Issues
So I have a working mouse cursor that can get me the 3d vector of the mouse so i can manipulate whatever i want with the mouse, but after adding some other UI elements and scaling them correctly with "SetViewScaleMode(SM_ExactFit)" the mouse alignment seems to get messed up. I've followed this tutorial: http://udn.epicgames.com/Three/Devel...Interface.html. Everything works fine when I use the setting "SM_NoScale", but scaleform of course does not adjust the UI pieces correctly to fit the whole screen. It's when I use ANY other of the settings that the mouse origin seems to be placed in the very bottom right corner. This could either mean the scaleform stage or the mouse origin is misaligned after scaling? Any help appreciated
Without more information about what you have produced it is hard to give you much advice. First thing to consider is to read through this first as you may find it more useful than adapting a canvas solution to scaleform.
There are two ways you can look at this sort of problem.
The first is to use SM_NoScale with Align_TopLeft such that your movie maintains the same resolution as the engine and the mouse co-ordinates match. Then set the position and scale of the UI components based on the screen resolution. Probably the best solution, but requires a neat setup of the UI to make the adjustments easy to make.
The other solution is to use SM_NoBorder aligned however suits your needs. This solution will require you to map the engine's screen co-ordinates to your movie's based on the engine res and the stage res. The end result may not be as optimal visually depending on the variety of screen resolutions you wish to support.