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"

Disabling camera movement when cursor is visible.

Hello! I'm working on an inventory in a third person game mode, and i want to show the mouse cursor when i press the inventory button, and with that disable the camera movement with the cursor.

With this the cursor is there, but as i move it the camera follows. https://imgur.com/a/8OxbTF5

Any blueprint suggestions?

Product Version: UE 4.19
more ▼

asked Jun 08 '18 at 06:02 PM in Using UE4

avatar image

1 1

avatar image mightyenigma Jun 08 '18 at 06:54 PM

Did you try setting that player controller's Input Mode to UI Only?

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

1 answer: sort voted first

It depends on how your camera movement is setup, but I guess you could just have a boolean in your character like "bIsInInventory" that you put to true when you display the inventory, false otherwise. And in the event in which you move the camera, just check the value of this boolean : if it's true, don't do anything, if it's false, run your camera movement code.

more ▼

answered Jun 08 '18 at 08:41 PM

avatar image

218 2 3 7

(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