x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Moving camera based on mouse location

Is there an easy way to move the camera when it nears the edge of the screen? Think Dota and League of legends style.

Product Version: Not Selected
Tags:
more ▼

asked Oct 05 '14 at 05:41 PM in Blueprint Scripting

avatar image

AaronPaulina
79 7 8 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Check where your mouse is and if it's at your discrepancy move your actor.

You still need a controller and I would recommend still using a character or pawn to have the location where you look at. You can also do fancy stuff like adjusting the height based on terrain and stuff like that.

Well when your cursor is at the border move your character/pawn like you'd usually.

This is at least one solution.

more ▼

answered Oct 05 '14 at 05:46 PM

avatar image

Erasio
6k 291 86 293

avatar image AaronPaulina Oct 05 '14 at 05:52 PM

I know the logic behind how to do it, I was just wondering if anyone has done it with a simple blueprint. Mine is becoming super messy with the branches and functions. I just feel like i'm going about it the wrong way.

avatar image Erasio Oct 05 '14 at 05:57 PM

There is not a real simple way.

You do have to check everything and so one. If there would be a node it would do that for you but it still would need to.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question