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"

Extra click on window after bShowMouseCursor

Hello!

I'm working on Unreal C++ Project, and I have a major issue. Since i need mouse cursor to show at the beginning, bShowMouseCursor is equal to true in mycontroller.cpp. A pawn I made is controlled by Mouse X and Mouse Y, and after showing mouse at the beginning, and selecting pawn (possessing), mouse is out of viewport and extra click is needed on viewport so that mouse can move my pawn (not restricted)

How can I fix this?

Product Version: UE 4.10
Tags:
more ▼

asked May 13 '16 at 06:21 PM in C++ Programming

avatar image

phoenix[illusion]
118 8 10 15

avatar image Firat Jun 15 '16 at 08:03 PM

Epic have been promising to fix that issue forever, and still no fix. If you are doing heavy mouse work in your game, I suggest you look for another engine. That's what I am planning to do.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Honestly this is one of the longest running issues in UE4 history. I don't know of any solutions really. People often recommend various nodes or calls but i have not seen any of them work.

Here is the best thread i know of:

https://answers.unrealengine.com/questions/133398/switching-show-mouse-cursor-from-on-to-off-loses-f.html

Essentially the work around is setting your input to Game only i think. This in no way worked for me in the past but may work now (you may need a delay evidently sometimes).

more ▼

answered May 13 '16 at 09:11 PM

avatar image

RimmyD
2.6k 98 15 96

avatar image phoenix[illusion] May 15 '16 at 08:39 PM

thanks for answer

(comments are locked)
10|2000 characters needed characters left
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