Originally posted by PalomaStudios
View Post
Announcement
Collapse
No announcement yet.
Razer Hydra Plugin
Collapse
X
-
getnamo replied
-
PalomaStudios repliedgetnamo your plugin is great and we have been playing with it. Any chance 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 this 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 this 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 this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
Leave a comment:
-
getnamo repliedUpdate to 1.0.0
- Compile fixes for 4.17
- Enabled by default
- API stable, graduated to 1.0
This marks the first of my plugins to reach what I consider 1.0 stability. Get the latest build for 4.17 at: https://github.com/getnamo/hydra-ue4/releases
Leave a comment:
-
olistreet repliedOriginally posted by Getnamo Checkout the latest release, it should all just work out of the box. If you have any question first check the documentation on the [URL="https://github.com/getnamo/hydra-ue4"github repository[/URL] and then if things are still unclear, pop a message here.
Leave a comment:
-
Overwrite Games repliedOriginally posted by getnamo View PostGlad you like the rewriteLooks like I missed the derived values. I thought of getting rid of them in this 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
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 this in a function that gets called on tick, probably not the most efficient way but I don't see any slowdown for my purposesLast edited by Overwrite Games; 12-23-2016, 07:50 PM.
Leave a comment:
-
getnamo repliedOriginally posted by MrNexy View PostHey there [MENTION=548]getnamo[/MENTION] !
Wow this 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
MrNexyLooks like I missed the derived values. I thought of getting rid of them in this 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
Leave a comment:
-
Overwrite Games repliedHey there [MENTION=548]getnamo[/MENTION] !
Wow this 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
Leave a comment:
-
Overwrite Games repliedOriginally posted by getnamo View PostUpdate 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. This 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
Grab the latest at the usual https://github.com/getnamo/hydra-ue4/releases.
Refer to the main github repository for up to date documentation!
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 main 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.
Leave a comment:
-
getnamo repliedUpdate 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. This 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
Grab the latest at the usual https://github.com/getnamo/hydra-ue4/releases.
Refer to the main github repository for up to date documentation!
Originally posted by MrNexy View PostHey Getnamo !
Do you know when there'll be a 4.14 update for the plugin ?
Thank you !. 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 main repo documentation to see the api changes.
Enjoy
Originally posted by olistreet View PostHi, has anybody got the chance 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!!Last edited by getnamo; 12-22-2016, 12:53 PM.
Leave a comment:
-
Overwrite Games repliedHey Getnamo !
Do you know when there'll be a 4.14 update for the plugin ?
Thank you !
Leave a comment:
-
olistreet repliedHi, has anybody got the chance 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!!
Leave a comment:
-
olistreet repliedHi! Getnamo, 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?
Greetings!
Leave a comment:
-
getnamo repliedOriginally posted by sandmeister View PostHi Getnamo, were you able to push an update for 4.13?
Thanks kindly!Originally posted by ipas View PostSorry 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 this is fixed btw !
-Compile fixes for 4.13
-Attempt at 0,0,0 fix for vive/hydra
let me know if the fix works!
grab it at the usual: https://github.com/getnamo/hydra-ue4/releases
Leave a comment:
-
sandmeister repliedHi Getnamo, were you able to push an update for 4.13?
Thanks kindly!
Leave a comment:
Leave a comment: