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"

Bind mouse for 3D widget in center of a screen via blueprint

Hello! Please help me with a problem. In my game I use 3D widgets, so it is like holographic interfaces, and instead of using a direct mouse input (the game is first person, so it will be pretty uncomfortable to switch from camera to mouse control, only to push one button) I want to use raycast, or something that will say to widget, that there is a mouse cursor and it is in center of a screen. Closest reference is DOOM 3, where it was used for lots of consoles to control bridges, doors, lights etc.

Product Version: UE 4.8
Tags:
more ▼

asked Aug 15 '15 at 12:36 PM in Blueprint Scripting

avatar image

Dmiboks
11 1 1 5

avatar image Dmiboks Aug 16 '15 at 06:45 PM

Well, my question is a little blurry, so can you please answer those question:

1) Can I enable Mouse interaction with widgets, while still controlling camera in FPS mode?

2) Is there a way to set mouse position? Because I have no clue, what that is:alt text

3) What is that "Reply" in image? How does it work?

image.png (18.4 kB)
avatar image Stormrage256 Dec 18 '15 at 06:29 AM

Does anyone know if there is an alternative to this that can be done purely in blueprints?

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

1 answer: sort voted first

I have been looking for a (blueprint-only) solution to this as well and the only thing I found was Rama's blueprint collection: https://forums.unrealengine.com/showthread.php?3851-%2839%29-Rama-s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required!

Using it was trivial as it provides a blueprint node to set the mouse position.

For 4.8 you need to download an older zip, since the newer ones are for 4.9. I think I used "06:14, 20 August 2015".

Oh yeah, you can ignore the blueprint node in the screenshot you posted. It doesn't seem to do quite what its name implies.

more ▼

answered Sep 08 '15 at 10:59 AM

avatar image

aerique
0 3 6

avatar image Davision May 25 '16 at 03:04 PM

Something as simple as this should really be in UE4 by now without having to rely on any plug-in

(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