Announcement

Collapse
No announcement yet.

Support for Space Navigator 3D Mouse?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by Kelt View Post
    Good day anybody get this warning?

    D:\UProject\BosporanKingdom\Plugins\SpaceNav3D\Source\SpaceNav3D\SpaceNav3D.Build.cs: warning: Referenced directory 'D:\Programms\Epic Games\UE_4.21\Engine\Source\SpaceNav3D\Public' does not exist.
    PackagingResults: Warning: Referenced directory 'D:\Programms\Epic Games\UE_4.21\Engine\Source\SpaceNav3D\Public' does not exist.

    I think I had such when was cooking or building Project.
    Never had chance build Project which is using 3Dconnection :-(

    Comment


      I am creator of WMInput Manager --> https://www.unrealengine.com/marketp...-input-manager, I can easily make your 3D Mouse get working with plugin i've made but first i would need to get one 3d Connexions Space Navigator
      Last edited by Rapid_Wirehead; 02-09-2019, 07:11 PM.

      Comment


        Rapid_Wirehead That would be awesome! I would totally buy plugin if it supported Spacemouse!!! Here is link if you are interested in getting one:
        https://www.amazon.com/3Dconnexion-S...s%2C172&sr=1-1
        https://www.casualdistractiongames.com

        Comment


          Originally posted by OptimisticMonkey View Post
          Rapid_Wirehead That would be awesome! I would totally buy plugin if it supported Spacemouse!!! Here is link if you are interested in getting one:
          https://www.amazon.com/3Dconnexion-S...s%2C172&sr=1-1
          I would need to know, how you would like to use your 3d connexion mouse buttons and axes in viewport. Link you did send to me is base model of 3d connexion,, There are also devices with a lot of buttons. "maybe you would like to map them to editor actions for your needs, yes & axes to use to controll your camera "FORWARD, BACK, UP, DOWN , LEFT, RIGHT ?" ..... With WM_Input_Manager you will also be able to use your 3d connextion device as joystick in game right now if I put a few lines into this plugin. I am thinking to compile special binary demo version of WM_Input_Manager for you to know if your device will be recognized correctly because theese 3D connexion devices are a bit expensive controllers to buy them all for development testing. . You will be able to read all data from it ,, if it will pass i can map correct controlls for you.You will then assist me by sending me preprogrammed debugging files... Please send me your email in private message if you agree & also send me which version of UE4 we will be using for testing
          Last edited by Rapid_Wirehead; 02-12-2019, 06:34 PM.

          Comment


            Originally posted by Danimus2000 View Post
            I got it to work in 4.20! Note that I am using a 3DConnexion Spacemouse Wireless.

            Here is what I did in specific order:

            1. I downloaded the plugin (which is just a folder full of other folders which have files in them) from the Google Drive folder referenced in OptimisticMonkey's post above (see his link above). I extracted the download onto my desktop.
            2. I then went to the 3DConnexion website per OptimisticMonkey's instructions to download the "SDK" file: https://www.3dconnexion.eu/service/s...-download.html
            3. On the 3DConnexion website I had to register for an account. Then they sent me an email to confirm. I confirmed the account and then tried to download the SDK but it said I wasn't registered as a developer. So I went to the developers page again and found another form I had to fill-out regarding the type of software I was developing. I just entered "plugin" as the software I was developing and filled in some additional fields. After I finished that form I was then allowed to download the most recent SDK from the 3dConnexion website. After it downloaded I extracted it onto my desktop. Inside the SDK folder is an executable file (mine was titled: 3DxWare-SDK_v3-4-0_414759.exe
            4. I copied that .exe file and pasted it into the plugin (which we extracted in step 1) and put it in the folder: SpaceNav3d-master/Source/ThirdParty/3DxWareSDK
            5. I then went to my C drive -> Program Files -> Epic Games -> UE_4.20 -> Engine -> Plugins -> then I created a folder named "SpaceNav3d-master".
            6. Then I copied the plugin from my desktop (that now has the SDK saved into it) and pasted it into the "SpaceNav3d-master" folder from step 5. The result is that if you click on the "SpaceNav3d-master" folder it has another folder inside with the same name. Then inside that folder is the guts of the plugin with folders such as "Binaries", "Config" etc etc.

            I then opened up Unreal Engine 4.20 and created a new project and my SpaceMouse Wireless was working.

            Thank you to Parcelrot, OptimisticMonkey and everyone else who made that possible. Hopefully others will also have success.
            That's a lot of steps, and I'm not keen on registering a developer account with them.

            Is this the only way to get support working in 4.21?

            Comment


              roberteker Those steps are only needed if you have a custom engine and need to compile the plugin. If you are using the stock 4.21 you can just download the binary package linked in earlier posts.

              https://www.casualdistractiongames.com

              Comment


                Originally posted by OptimisticMonkey View Post
                roberteker Those steps are only needed if you have a custom engine and need to compile the plugin. If you are using the stock 4.21 you can just download the binary package linked in earlier posts.
                Brilliant, thank you for the clarification!

                Comment


                  Ouch, I apparently can't package with the plugin enabled:

                  UATHelper: Packaging (Windows (64-bit)): ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_4.21\Engine\Plugins\SpaceNav3D\Intermediate\Build\Win64\UE4\Shipping\SpaceNav3D\SpaceNav3D.precompiled'.

                  Comment


                    roberteker Yes - sorry I should have mentioned. It is an editor only plugin. Rapid_Wirehead has a cool runtime plugin for usb that might work if you are interested in a runtime approach...
                    https://www.casualdistractiongames.com

                    Comment


                      Originally posted by OptimisticMonkey View Post
                      roberteker Yes - sorry I should have mentioned. It is an editor only plugin. Rapid_Wirehead has a cool runtime plugin for usb that might work if you are interested in a runtime approach...
                      No, no, sorry for the confusion. I want the editor convenience of space mouse navigation, but I also want to be able to continue package my project without having to uninstall the plugin.

                      Comment


                        Hello, @Rapid_Wirehead!

                        Have you made any progress in implementing support for the 3D Connection mouse in your plugin?

                        I am also interested in this, and would be willing to try and help you, be it by testing the plugin or even by chiming in so that you can buy some model for testing.

                        As far as I know, the buttons in the 3D Mouse are not sent to the application as joystic buttons or as special functions, but are programmed to send keyboard keys and macros, so that the application will receive a normal command such as would be the case with any programable keyboard. This programming happens within a manager program that is always running in the background, and can make things like radial menu overlays that will be triggered not within the target program, but from the manager. As such, in my opinion there is no need to worry about the buttons at all, as the user can control what they do and this would be transparent to Unreal. (Certain applications that are certified for the mouse are recognized by the manager application and can receive special commands that are not hotkeys, but this is not necessary and it would be outside of the scope of what I think most people are interested in).

                        So, in this case, the basic model is perfectly adequate for testing an development, and you can safely ignore the more advanced models.

                        As for the axes, forward and backwards should displace the character forwards and backwards in the direction of view, left and right would do the same on the right axis of the direction of view, and up and down again the same from the direction of view. This would be very similar to using a floating pawn with a controller, where (assuming Unreal coordinate space) the XY plane would be displacing the mouse forward an to the sides and be equivalent to the left thumbstick of the controller (or WASD on the keyboard), and displacing up and down would be equivalent to binding the left and right triggers of the controller to moving up and down (Q and E on the keyboard).

                        As for tilting and orienting the view: The 3D space mouse is mostly designed for orbiting around objects. In its default settings, all axis actually feel inverted if you think of moving the mouse as moving the camera, but make perfect sense if you think of it as moving the object, as if you were holding it in your hand. But this comes from the fact that most 3D modelling programs make an orbiting view their default camera control, and a first person control is mostly never used.

                        The people who want the 3D space mouse to work are probably expecting it to feel exactly the same as it would in their usual modelling application, as this experience of "holding" and rotating and object seems to be what, once you get used to it, makes it very intuitive and practical to use. But, as far as I know, there is no way in unreal to pivot the camera around a camera pivot point within the editor, as Unreal takes the opposite approach from a modelling application and a first person perspective is mostly the only useful way for navigating the map (if there is a method for orbiting the camera within the editor, I have never found it).

                        This means that the 3D space mouse will not work exactly as it does in the modelling suites, because it will be controlling a first person camera and not an orbital one. While it would be amazing to be able to provide the orbital view, I don't think this is a problem; the real usefulness of the mouse comes from being able to control 6 degrees of freedom with a single hand. Changing the type of camera being controlled doesn't negate that fact.

                        Lastly, a very useful feature of the mouse in a modelling program is that you can control your view with one hand, and keep using the normal mouse (for example for selecting faces and whatnot) with the other hand. This implies that the mouse pointer remains a useful tool, and your navigation becomes completely independent from it. Most of the workflow improvements that the 3D mouse provides comes from this fact. So, it would be very important to make sure that you can at least move the mouse cursor within the editor without conflicting with the simultaneous movement of the 3D mouse and the camera.

                        And, as an aside and probably impossible request, if you can implement the 3D mouse for navigating within a Blueprints network (panning and zooming in and out) I would be absolutely blown away. Probably impossible, but one can dream.

                        I hope this gives you some useful information, and look forward to your plugin! If implemented, I will definitely buy.

                        Comment


                          Is there one for 4.22 yet?

                          Comment


                            I'm new to UE4.xx and have just started learning it. However I have over 20 years of experience with 3D CAD and 3D printing (stereolithography). And I have been using 3DConnexion mice for at least 10 years. I'm really disappointed to learn that there's no native support for 3DConnextion products. As such I'm putting my UE4 learning on hold while I investigate Unity. I hope Epic reconsiders, though after perusing the forum on this subject, I have little hope. And, yes, I did get the latest plugin working but not as I would like it too. I would like to be able to customize it with the 3D mouse app like I do with Inventor, Fusion 360 and Google Earth. Thanks to all who have put their efforts into the plugin.

                            Comment


                              Hi, I tried to follow the instructions of this thread in order to make the 3Dconnexion space mouse working in UE4. Unfortunately, I didn't succeed to make it work in the version installed in my PC (4.20.3). When I copy the plugin to the engine plugins folder and try to run the engine I get an error message (see the attached picture) and the engine doesn't start.

                              Has anyone experienced the same issue?. Thanks
                              Attached Files

                              Comment

                              Working...
                              X