Sixense Unity plugin released today (easy Hydra integration)

Post Reply
User avatar
Dan_Sixense
One Eyed Hopeful
Posts: 23
Joined: Mon Apr 01, 2013 12:14 pm

Sixense Unity plugin released today (easy Hydra integration)

Post by Dan_Sixense »

For those of you trying to get the Hydra into Unity with your Oculus, the plug-in we released today should make things a little easier.

https://www.assetstore.unity3d.com/#/search/sixense

Mac: http://sixense.com/forum/vbulletin/atta ... 1365115016
Details: http://sixense.com/forum/vbulletin/show ... #post13290
Last edited by Dan_Sixense on Thu Apr 04, 2013 4:49 pm, edited 4 times in total.
Dan Paullus
Art Director
Sixense Entertainment, Inc.
www.Sixense.com
User avatar
Nogard
Cross Eyed!
Posts: 101
Joined: Thu Aug 16, 2012 5:30 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Nogard »

Kick-ass! Thanks for the help Dan.
defactoman
Cross Eyed!
Posts: 116
Joined: Tue Jun 19, 2012 12:15 pm
Location: Lompoc, CA

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by defactoman »

Oh yea this is great!
User avatar
mattyeatsmatts
Binocular Vision CONFIRMED!
Posts: 315
Joined: Wed Mar 06, 2013 5:02 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by mattyeatsmatts »

Dan's the man
User avatar
nateight
Sharp Eyed Eagle!
Posts: 404
Joined: Wed Feb 27, 2013 10:33 pm
Location: Youngstown, OH

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by nateight »

I'm pretty confident this is going to be one of the coolest things I've ever seen, but because I'm not planning to use Unity more than casually, I never really did learn how to manage external packages properly and/or I may be an idiot. I have drivers installed, and I'm looking at some hands, but nothing is happening when I push buttons. Is there a standard tutorial page for this? Or can some Unity wizard explain it to me like I'm five, possibly complete with pretty pictures and details about which of the two driver packages I need to have in what state (is MotionCreator even a driver? Does the Razer system tray guy need to be active? Should the base unit be glowing or pulsing or...?) I'll be the first to thank you, but very probably not the last to benefit from such a thing.

Also, is it safe to assume a similar package will be available for UDK? What about lesser known / open source engines like Torque 3D or Cube 2?
Shameless plug of the day - Read my witty comments on Reddit, in which I argue with the ignorant, over things that don't matter, for reasons I never fully understood!
User avatar
dbuckvs
Two Eyed Hopeful
Posts: 59
Joined: Tue Jul 17, 2012 11:21 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by dbuckvs »

awesome Dan, that works much smoother than the one I'd hacked together! works really well, and easy example. Thanks for putting this out there!

Cheers.
got a rift and a hydra? check out a thing it's a hot mess of control schemes and ideas, but it's fun.
User avatar
dbuckvs
Two Eyed Hopeful
Posts: 59
Joined: Tue Jul 17, 2012 11:21 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by dbuckvs »

Hi Nate, It 'just worked' here.

I did have to have the hydra tray driver active, and when I plugged in the hydra, it asked me to point and click the triggers.. when I start the scene, the unity app does the same. Is your hydra lighting on?
got a rift and a hydra? check out a thing it's a hot mess of control schemes and ideas, but it's fun.
User avatar
nateight
Sharp Eyed Eagle!
Posts: 404
Joined: Wed Feb 27, 2013 10:33 pm
Location: Youngstown, OH

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by nateight »

dbuckvs wrote:I did have to have the hydra tray driver active, and when I plugged in the hydra, it asked me to point and click the triggers.. when I start the scene, the unity app does the same. Is your hydra lighting on?
Hmm...I managed to crash the system tray process once, but after a reboot I'm thinking my problem stems from this "DllNotFoundException: sixense" error. It's nonsense because I can see a sixense.dll in my Assets>Plugins folder in my Project, my base lighting is pulsing, and I know my Hydra works in Portal 2 under my gaming environment, so I'm thinking either something's gone terribly wrong with my driver in my dev environment or you Unity guys do a dozen things I didn't without even noticing and I really do need a tutorial. :?

This isn't a Unity Pro only thing, is it?
Shameless plug of the day - Read my witty comments on Reddit, in which I argue with the ignorant, over things that don't matter, for reasons I never fully understood!
User avatar
dbuckvs
Two Eyed Hopeful
Posts: 59
Joined: Tue Jul 17, 2012 11:21 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by dbuckvs »

yes it is, unity pro is required to access native plugin dlls.
got a rift and a hydra? check out a thing it's a hot mess of control schemes and ideas, but it's fun.
Baristan6
Cross Eyed!
Posts: 111
Joined: Sat Dec 15, 2012 11:33 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Baristan6 »

So glad my Hydra arrived today.
User avatar
nateight
Sharp Eyed Eagle!
Posts: 404
Joined: Wed Feb 27, 2013 10:33 pm
Location: Youngstown, OH

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by nateight »

dbuckvs wrote:unity pro is required
Image


Sooo, about that UDK/Torque 3D plugin...
Shameless plug of the day - Read my witty comments on Reddit, in which I argue with the ignorant, over things that don't matter, for reasons I never fully understood!
Aabel
Cross Eyed!
Posts: 190
Joined: Sat Jun 16, 2012 11:43 am
Location: Irvine, CA

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Aabel »

You can wrap the sixense SDK in C# for use in free unity. Someone on here even posted exactly what needs to be done to do that.
User avatar
nateight
Sharp Eyed Eagle!
Posts: 404
Joined: Wed Feb 27, 2013 10:33 pm
Location: Youngstown, OH

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by nateight »

Aabel wrote:You can wrap the sixense SDK in C# for use in free unity.
I don't doubt it, but it's not worth the aggravation. Unity simply doesn't want me to use their engine; with several very compelling competitors out there who do want my business I'm just as happy to oblige them.
Shameless plug of the day - Read my witty comments on Reddit, in which I argue with the ignorant, over things that don't matter, for reasons I never fully understood!
User avatar
MrGreen
Diamond Eyed Freakazoid!
Posts: 741
Joined: Mon Sep 03, 2012 1:36 pm
Location: QC, Canada

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by MrGreen »

nateight wrote:Image
:lol:
User avatar
tmek
Cross Eyed!
Posts: 154
Joined: Fri Aug 03, 2012 10:27 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by tmek »

Very happy you guys released this, it's a great starting point and feels very natural.
Xensory
One Eyed Hopeful
Posts: 9
Joined: Sun May 08, 2011 11:24 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Xensory »

Nice timing! I just finished unboxing and installing my Razor Hydra and was trying to decide what to try first.

I love it when a plan comes together. :D
HeadTrip
Two Eyed Hopeful
Posts: 77
Joined: Tue Mar 04, 2008 10:53 pm
Location: Deep underground

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by HeadTrip »

Fantastic! same here, just got my Hydra
mstevenson
One Eyed Hopeful
Posts: 2
Joined: Sat Oct 06, 2012 9:37 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by mstevenson »

The Unity plugin appears to be Windows-only, but this isn't indicated on the plugin page. Is there a chance we'll get Mac support as well?
nixarn
One Eyed Hopeful
Posts: 41
Joined: Thu Jun 07, 2012 4:28 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by nixarn »

mstevenson wrote:The Unity plugin appears to be Windows-only, but this isn't indicated on the plugin page. Is there a chance we'll get Mac support as well?
Isn't the Hydra windows only? Got it today and nowhere on the package it says it's got mac support.
User avatar
J. h4t3d
One Eyed Hopeful
Posts: 35
Joined: Mon Mar 25, 2013 5:45 am
Location: Hispania

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by J. h4t3d »

Great! That's much simpler than the integration I've been using, just one dll and two scripts to get the input.
Any limitation in its use?

And thanks and congratulations Sixense team, you are doing a great job.
J
mstevenson
One Eyed Hopeful
Posts: 2
Joined: Sat Oct 06, 2012 9:37 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by mstevenson »

nixarn wrote:
mstevenson wrote:The Unity plugin appears to be Windows-only, but this isn't indicated on the plugin page. Is there a chance we'll get Mac support as well?
Isn't the Hydra windows only? Got it today and nowhere on the package it says it's got mac support.
The official Sixense SDK is available for Mac, Windows, and Linux, but the Unity plugin includes only the Windows DLL. You're right that the box only mentions Windows support, so Mac and Linux may have been a recent addition.
User avatar
Dan_Sixense
One Eyed Hopeful
Posts: 23
Joined: Mon Apr 01, 2013 12:14 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Dan_Sixense »

We are planning on releasing mac support for the Unity plugin. No details further than that yet sorry.
Dan Paullus
Art Director
Sixense Entertainment, Inc.
www.Sixense.com
User avatar
Dan_Sixense
One Eyed Hopeful
Posts: 23
Joined: Mon Apr 01, 2013 12:14 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Dan_Sixense »

Quickly, replace your stock Hydra driver with our Sixense custom drivers. THey're like a thousand times better :).

www.sixense.com/motioncreator

Pretty sure it will uninstall the old ones when you install.
Dan Paullus
Art Director
Sixense Entertainment, Inc.
www.Sixense.com
jushii
One Eyed Hopeful
Posts: 5
Joined: Sun Sep 09, 2012 2:47 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by jushii »

Works like a charm! My hydra arrived just in time today. :D
Here's picture of us drawing some lines with the fingers in 3d space. (would look more awesome with a rift though..)
Image

I want to do a digital fingerpaint game/software. :D
User avatar
ftarnogol
Cross Eyed!
Posts: 143
Joined: Thu Oct 11, 2012 7:38 pm
Location: Argentina
Contact:

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by ftarnogol »

How difficult is it to integrate the Hydra into a full body(arms) vs "just the hands"?

Noob question to follow:
how do I interact with the colliders to manipulate objects?
Image
<a href="http://phobos.psychologicaltechnologies.com">Link text</a>
zalo
Certif-Eyed!
Posts: 661
Joined: Sun Mar 25, 2012 12:33 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by zalo »

Alright, I just had my hands down favorite moment with the Rift.

Once you get your Rift: download this integration, and go to SixenseHands scene. Import your rift assets, and place a Rift camera in the same position as the Main Camera in the scene.

Make sure that it's set to maximize on Play and Hit Play. Put your rift on and grab your hydra controllers. Move your hydra controllers to where they appear through the rift, and hit the little button on each controller. The hands will move with your controllers and you will realize why the rift and hydra together are THE FUTURE.

All my doubts about the hydra and rift vanished right then and there. DO IT.

EDIT: Gah, if you have the original hydra drivers, exit out of those, they'll just f*** up your experience.
User avatar
J. h4t3d
One Eyed Hopeful
Posts: 35
Joined: Mon Mar 25, 2013 5:45 am
Location: Hispania

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by J. h4t3d »

ftarnogol wrote:how do I interact with the colliders to manipulate objects?
For now I just have put a box collider for each bone. Not too accurate, but it works for testing gameplays and such.
J
Mystify
Certif-Eyed!
Posts: 645
Joined: Fri Jan 11, 2013 5:10 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Mystify »

zalo wrote:Alright, I just had my hands down favorite moment with the Rift.

Once you get your Rift: download this integration, and go to SixenseHands scene. Import your rift assets, and place a Rift camera in the same position as the Main Camera in the scene.

Make sure that it's set to maximize on Play and Hit Play. Put your rift on and grab your hydra controllers. Move your hydra controllers to where they appear through the rift, and hit the little button on each controller. The hands will move with your controllers and you will realize why the rift and hydra together are THE FUTURE.

All my doubts about the hydra and rift vanished right then and there. DO IT.

EDIT: Gah, if you have the original hydra drivers, exit out of those, they'll just f*** up your experience.
This reinforces my current stance on things:
motion control in front of a screen is bad
motion control in VR, where you can directly itneract with things, is great.
misterhek
One Eyed Hopeful
Posts: 13
Joined: Tue Jan 15, 2013 7:14 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by misterhek »

ftarnogol wrote:how do I interact with the colliders to manipulate objects?
You have to create a primitive collider. You can see an example I did here. It's not hard, just a bit time consuming. Basically, create a box for each finger, disable the mesh renderer, and adjust it to where each finger is. Then, make the box a child of the appropriate finger joint so it moves with the animations.

The large box underneath the hand of my example is a trigger collider so I can pick up objects that enter a certain area.
User avatar
Dan_Sixense
One Eyed Hopeful
Posts: 23
Joined: Mon Apr 01, 2013 12:14 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Dan_Sixense »

Dan Paullus
Art Director
Sixense Entertainment, Inc.
www.Sixense.com
ChrisJD
Cross Eyed!
Posts: 176
Joined: Mon Feb 25, 2013 10:29 pm
Location: NZ

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by ChrisJD »

Aabel wrote:You can wrap the sixense SDK in C# for use in free unity. Someone on here even posted exactly what needs to be done to do that.
Everything you need to make it work with free is in the package. Do the following:

1. Create a new Visual Studio (or use the IDE and compiler of your choice) C# Class Library project.
2. Move the SixensePlugin.cs file into this project. (remove it from your Unity project's folder)
3. Remove "using UnityEngine;" from the top of the file.
4. Make sure the project is set to target .Net Framework 3.5 and Build in release mode.
5. Place resulting dll in your Unity project's Asset folder. (The root level of the Asset folder, not a sub-folder)
6. Move the "sixense.dll" from the project's plugin folder to the root folder of your project (the one that contains the Asset, Library and other folders)

All done. Open one of the demo scenes from the package to test.
User avatar
ftarnogol
Cross Eyed!
Posts: 143
Joined: Thu Oct 11, 2012 7:38 pm
Location: Argentina
Contact:

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by ftarnogol »

misterhek wrote:
ftarnogol wrote:how do I interact with the colliders to manipulate objects?
You have to create a primitive collider. You can see an example I did here. It's not hard, just a bit time consuming. Basically, create a box for each finger, disable the mesh renderer, and adjust it to where each finger is. Then, make the box a child of the appropriate finger joint so it moves with the animations.

The large box underneath the hand of my example is a trigger collider so I can pick up objects that enter a certain area.
Thanks a lot!! Very clear explanation
Image
<a href="http://phobos.psychologicaltechnologies.com">Link text</a>
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11406
Joined: Sat Apr 12, 2008 8:18 pm

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by cybereality »

Really awesome news.
boone188
Cross Eyed!
Posts: 184
Joined: Tue Apr 02, 2013 12:36 pm
Location: Seattle, WA

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by boone188 »

Just got my hydra in, and it's been really great so far. I can't believe how accurate this thing is for $50! I've been dreaming of magnetic trackers for years, but they were all thousands upon thousands of dollars. The unity demo scene is great.

Is the position data that gets spit out by the plugin in mm? That would mean we should use a scaling of 1 and sensitivity of 0.001 if we are working with 1 unity unit == 1 meter (like the Tuscany demo).
Sixense_Danny
One Eyed Hopeful
Posts: 6
Joined: Fri Apr 05, 2013 10:49 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by Sixense_Danny »

Hi everyone, It is great to see everyone using the Hydra. It really is a great fit for VR. I was amazed to find out Ben, the one who played through the Hydra+Tuscany demo had only ever used the Hydra one other time in his Project Holodeck interview.
boone188 wrote:Is the position data that gets spit out by the plugin in mm?

Yes the units are in mm.
User avatar
TheHolyChicken
Diamond Eyed Freakazoid!
Posts: 733
Joined: Thu Oct 18, 2012 3:34 am
Location: Brighton, UK
Contact:

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by TheHolyChicken »

Sixense_Danny wrote:Hi everyone, It is great to see everyone using the Hydra. It really is a great fit for VR. I was amazed to find out Ben, the one who played through the Hydra+Tuscany demo had only ever used the Hydra one other time in his Project Holodeck interview.
boone188 wrote:Is the position data that gets spit out by the plugin in mm?

Yes the units are in mm.
I just got an email that it's out of stock for Europe, so my order will be delayed. Get to it, Danny!
Sometimes I sits and thinks, and sometimes I just sits.
User avatar
MrGreen
Diamond Eyed Freakazoid!
Posts: 741
Joined: Mon Sep 03, 2012 1:36 pm
Location: QC, Canada

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by MrGreen »

2 Sixense Dan's for the price of one. Awesome! :D
maboo63
Cross Eyed!
Posts: 101
Joined: Sat Oct 13, 2012 3:23 am

Re: Sixense Unity plugin released today (easy Hydra integrat

Post by maboo63 »

@dan: any info on the release of the tuscany demo? :)
Post Reply

Return to “Oculus VR”