Need help blueprinting a Semi-locked 2D camera
I'm trying to lock my camera to my 2D character but I want it to be semi-locked to where the mouse is.
What happens is that the Character never leaves the screen, but depending on where the mouse is on the screen, you'll see more of that part.
I've attached 3 images to show what I mean, apologies for the poor drawings. The circle is where the mouse is that.
I've tried messing around with "Get Hit Under Cursor by Channel" node, multiplying the Location vector to 0 on both X and Z axis, and around 0.3 or so for the X axis. It sort of works, but it doesn't because there's no screen limit and if I move the character it sort of stops working.
Any help would be appreciated.
asked Dec 10 '15 at 02:17 AM in Using UE4
answered Dec 11 '15 at 05:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here