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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Camera Rotation stops when mouse hits wall of Game Window

Hello! First time posting question, hope this makes sense.

Im creating a mouse movement where the cursor is visible, and when the left mouse is clicked, it is hidden.

alt text

I have this working, but with this code i cannot rotate the mouse past the game window border. (see attached link for gif of what I mean)


I had the mouse showing so that you could see it.

I want the cursor to go past the game window, and if possible when the cursor hits the edge of the actual computer screen to continue to rotate the camera.

Product Version: UE 4.18
more ▼

asked Oct 30 '17 at 05:18 PM in Using UE4

avatar image

Bob Snoper
1 1 2

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

1 answer: sort oldest

Just so people know the answer, it was the "event begin play" that was causing the problem

more ▼

answered Nov 15 '17 at 06:12 PM

avatar image

Bob Snoper
1 1 2

avatar image Napoleonite Jan 07 '18 at 12:39 PM

To be more specific: Apparently this line (or the blueprint version of it):

 bShowMouseCursor = true;

should NOT be placed in the BeginPlay(). You can safely enable the mouse later but you cannot do it in the BeginPlay() of the PlayerController or it will cause this problem. I had it too. I believe that it may be an UE4 bug.

(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