[=ipas;563828]
The hydra controllers needs to be on the base-station for the Vive controllers to function again. When the controllers are not on the basestation or the Hydra USB is unplugged, the motioncontrollers remains on 0.0.0 position. leaves me kinda stuck in 4.11 at point.
[/]
If I’m understanding you correctly if you have your hydras unplugged, but the plugin is enabled it will still do 0,0,0 for motion controllers even if you have vive controllers on and working?
Update
I’ve found the bug, will push a commit soon with the fixes along with 4.13
Sorry for my very late response. Yeah… the Hydra needs to be plugged in for the Vive motioncontrollers to work. When the plugin is enabled and the hydra is not plugged in, the position of motioncontrollers stays are 0.0.0. Great that is fixed btw !
[=sandmeister;596316]
Hi , were you able to push an update for 4.13?
Thanks kindly!
[/]
[=ipas;590449]
Sorry for my very late response. Yeah… the Hydra needs to be plugged in for the Vive motioncontrollers to work. When the plugin is enabled and the hydra is not plugged in, the position of motioncontrollers stays are 0.0.0. Great that is fixed btw !
[/]
Update to 4.13
-Compile fixes for 4.13
-Attempt at 0,0,0 fix for vive/hydra
Hi! , thanks for all the effort, I’m dying to get my hands on the touch controllers! In the meantime I follow your work, I’m really just learning but with the new 4.13 update that you just uploaded I’m having troubles with the hydra movement.
I’ve put the hydraplugin in the BP_MotionController Scene in the new VR Template, in the MotionController Map, and I get hand movement, but the hand meshes are at floor level, and if I modify the values in the transformation tab in details to match the real world position of the hydra base station, I get a bad translation of the hand movement, Also Calibrate or SetBaseOffset functions seems to do nothing when I call them in the Graphic Event for the BP_MotionController blueprint. Any Ideas?
Hi, has anybody got the to use the new VR template in 4.13 with the latest hydra plugin? Is there anything in especific that I might be missing in order to get it working, I can get the print screen function to work on hydracontrollermoved but I get no response when using the calibrate functions. When I start the hydras are in floor level, 1-1 translation but at floor level.
I haven’t tried to make a new blank project and start from the scratch because the new VR template is quite good. but maybe If I get the hydras working on a blank new project, somehow I can import all the blueprints from the VR template to the new project.
Update to 0.9.3
-No hydra specific components required for full tracking. If you’re using Input Mapping + Motion Controller abstraction, just follow UE hardware abstracted documentation. is the recommended method of using the plugin.
-Optional HydraControllerComponent used to receive 0.8 style hydra specific events and poll for additional data
-Hydra data now encapsulated as a HydraControllerData UStruct and emitted in the custom events
-Historical data removed, use a generalize structure instead
-C++ method should now access data in the same form as blueprints.
-Input mapping keys renamed to fit closer to how Motion Controller keys are named.
-4.14 update
-documentation update for new API
-fix unplugged event not triggering
Do you know when there’ll be a 4.14 update for the plugin ?
Thank you !
[/]
You prompted me to finish my modern rewrite and publish it, checkout the latest release :). It simplifies things a bit more but will have some breaking changes if you relied on the hydra component. Now from 0.9, you can completely forget about hydra specific components/etc and just use Motion Controller + Input mapping system to do everything. Refer to the repo documentation to see the api changes.
Enjoy
[=;600409]
Hi, has anybody got the to use the new VR template in 4.13 with the latest hydra plugin? Is there anything in especific that I might be missing in order to get it working, I can get the print screen function to work on hydracontrollermoved but I get no response when using the calibrate functions. When I start the hydras are in floor level, 1-1 translation but at floor level.
I haven’t tried to make a new blank project and start from the scratch because the new VR template is quite good. but maybe If I get the hydras working on a blank new project, somehow I can import all the blueprints from the VR template to the new project.
Thanks guys!!
[/]
Checkout the latest release, it should all just work out of the box. If you have any question first check the documentation on the github repository and then if things are still unclear, pop a message here.
[=;641595] Update to 0.9.3
-No hydra specific components required for full tracking. If you’re using Input Mapping + Motion Controller abstraction, just follow UE hardware abstracted documentation. is the recommended method of using the plugin.
-Optional HydraControllerComponent used to receive 0.8 style hydra specific events and poll for additional data
-Hydra data now encapsulated as a HydraControllerData UStruct and emitted in the custom events
-Historical data removed, use a generalize structure instead
-C++ method should now access data in the same form as blueprints.
-Input mapping keys renamed to fit closer to how Motion Controller keys are named.
-4.14 update
-documentation update for new API
-fix unplugged event not triggering
You prompted me to finish my modern rewrite and publish it, checkout the latest release :). It simplifies things a bit more but will have some breaking changes if you relied on the hydra component. Now from 0.9, you can completely forget about hydra specific components/etc and just use Motion Controller + Input mapping system to do everything. Refer to the repo documentation to see the api changes.
Enjoy
Checkout the latest release, it should all just work out of the box. If you have any question first check the documentation on the github repository and then if things are still unclear, pop a message here.
[/]
Wow re-write really simplified things
I’m facing something of a wall with getting the acceleration of each hydra controller.
I break the controller struct coming out of the controller moved event, position and rotation work well enough but the acceleration and velocity return 0,0,0.
Any thoughts on this ?
Wow re-write really simplified things
I’m facing something of a wall with getting the acceleration of each hydra controller.
I break the controller struct coming out of the controller moved event, position and rotation work well enough but the acceleration and velocity return 0,0,0.
Any thoughts on this ?
Kind Regards
MrNexy
[/]
Glad you like the rewrite Looks like I missed the derived values. I thought of getting rid of them in rewrite, but since you seem to find them useful I added back the links and updated with a 0.9.4 release with the fix
Update to 0.9.4
-fix derived values (acceleration, velocity and angular velocity)
grab the latest release to get the fix. Let me know if anything else is broken
[=;642101]
Glad you like the rewrite Looks like I missed the derived values. I thought of getting rid of them in rewrite, but since you seem to find them useful I added back the links and updated with a 0.9.4 release with the fix
Update to 0.9.4
-fix derived values (acceleration, velocity and angular velocity)
grab the latest release to get the fix. Let me know if anything else is broken
[/]
That does the trick ! I used the acceleration values to create an input axis to drive the opening of drawers and doors on a project I’m working on.
Thank you ! Now I just have to get the same data out of Epic’s MotionController setup >.<
Update
I managed to figure it out using the MotionController setup as well. I used the WorldLocation of the MotionController’s StaticMesh and ran that through GetPhysicsLinearVelocityAtPoint, then I normalized the resulting vector and multiplied it by WorldDeltaSeconds. Then I broke the vector and for my needs I multiplied the Y Axis by a modifier (10 in my case) and then by -1 to invert it. Did all in a function that gets called on tick, probably not the most efficient way but I don’t see any slowdown for my purposes
[= Checkout the latest release, it should all just work out of the box. If you have any question first check the documentation on the [github repository]
(https://github.com//hydra-ue4) and then if things are still unclear, pop a message here.
[/]
your plugin is great and we have been playing with it. Any you will release a 4.24 version?
Thanks for all your work.
WE have been trying to compile the plugin for 4.24 with no success so far. We are getting error and I decided why not contact the creator.
Error Expected HydraControllerComponent.h to be first header included. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Private\HydraControllerComponent.cpp 1
Error Expected HydraControllerData.h to be first header included. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Private\HydraControllerData.cpp 1
Error Expected HydraEnum.h to be first header included. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Private\HydraEnum.cpp 1
Advertencia Monolithic headers should not be used by module. Please change it to explicitly include the headers it needs. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Source\Runtime\Engine\Public\Engine.h 10
Error C1083 No se puede abrir el archivo incluir: ‘ModuleManager.h’: No such file or directory UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Public\IHydraPlugin.h 5
Error MSB3075 El comando “…..\Build\BatchFiles\Build.bat -Target=“UE4Editor Win64 Development” -Target=“ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild” exit code 5. Please verivy that you have sufficient rights to run command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
your plugin is great and we have been playing with it. Any you will release a 4.24 version?
Thanks for all your work.
WE have been trying to compile the plugin for 4.24 with no success so far. We are getting error and I decided why not contact the creator.
Error Expected HydraControllerComponent.h to be first header included. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Private\HydraControllerComponent.cpp 1
Error Expected HydraControllerData.h to be first header included. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Private\HydraControllerData.cpp 1
Error Expected HydraEnum.h to be first header included. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Private\HydraEnum.cpp 1
Advertencia Monolithic headers should not be used by module. Please change it to explicitly include the headers it needs. UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Source\Runtime\Engine\Public\Engine.h 10
Error C1083 No se puede abrir el archivo incluir: ‘ModuleManager.h’: No such file or directory UE4 F:\30.Unreal Recursos\UE\UE4.24.3\Engine\Plugins\hydra-ue4\Source\HydraPlugin\Public\IHydraPlugin.h 5
Error MSB3075 El comando “…..\Build\BatchFiles\Build.bat -Target=“UE4Editor Win64 Development” -Target=“ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild” exit code 5. Please verivy that you have sufficient rights to run command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
[/]
Didn’t know if anyone still used plugin. Went ahead and fixed the compile problems for UE4.24 and made a new release which can be found here: https://github.com//hydra-ue4/releases/tag/1.6.0. Keep in mind that I haven’t fixed the motion controller regression that plugin has, so you’ll likely need to use the HydraComponent to access data instead.
Likely just needs a compile for 5.0/maybe minor code fixes. Add plugin to your c++ project and hit compile. Use the hydra component approach for handling input.