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"

Two wheels moving separately (like a wheelchair)

Hey guys,

We're trying to develop a wheelchair-like vehicle in UE4. We're using two mouses to steer. Basically, we want to connect one mouse to each wheel.

It should work like this:

  1. If mouse 1 moves forward the vehicle moves right

  2. If mouse 2 moves forward the vehicle moves left

  3. If both mice move forward the vehicle goes forward

alt text

It should be something like this (an example we've used from a different post), but this example doesn't seem to work properly, especially the moving forward by using both mice.

Any advice, or further explanation regarding the example?


Product Version: Not Selected
31077-engine.png (114.3 kB)
more ▼

asked Apr 09 '15 at 09:53 AM in Blueprint Scripting

avatar image

Sjors Jessen
6 1 5 9

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

1 answer: sort voted first

I'm not sure the engine has native support for multiple mice - I think you may have to do some OS-level fiddling for this to work. If I recall correctly, Windows maps both mice to the same pointer and you would need a third-party program for this (or some more direct C++ code!).

http://sourceforge.net/projects/dualmousekeyboa/ may be worth checking out. I may be wrong, though!

more ▼

answered Apr 09 '15 at 10:17 AM

avatar image

808 39 30 65

avatar image Sjors Jessen Apr 09 '15 at 10:59 AM

Hello Jargon,

Thanks I will check it out! However, we do think it is possible. The guys in this video: https://www.youtube.com/watch?v=0I0p9JU6sJw developed a sortlike simulator, also using multiple mice as sensors.

avatar image Sjors Jessen Apr 09 '15 at 11:17 AM

Hello Jargon,

My first explanation might have been a bit unclear and wrong, thus I've made an illustration.

alt text

Hopefully this helps!

Kind regards

mice.png (19.3 kB)
avatar image Sjors Jessen Apr 09 '15 at 11:21 AM

Pardon me,

Second figure: right wheel goes forward (vehicle turns left)*

avatar image MYK95 Apr 10 '17 at 07:55 PM

Question, How easy would it be for a setup like this to work so both joysticks on a controller controlled the throttle for both wheels?

Thanks in advance.

(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