I've been programming with Unity for 3+ years. Currently I'm working on games for android and iOS.

Report RSS Kinect + openNI + Unity

Posted by on

Well it's actually an Asus knockoff of a kinect sensor, but it works well at tracking up to 2 players.

In Unity you can add triggers/colliders to your hands/elbows/knees/feet, to allow you to hit things. You can also attach triggers around you to allow you to switch weapons/spells. I just rigged up a simple fireball toss by doing an over head throw.

With triggers you can make different arrangements, if you put your hands together you could trigger a different spell than using one by itself or if you reach for your hip you could switch to a sword. Lots of possibilities....

If you throw a fireball all the way to the target (white cube) it triggers an explosion:

And a little demo where you punch a skeleton to kill it and another one spawns and comes after you.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Level
Avatar
Avatar
Last Online
Country
United States 🇺🇸
Gender
Male
Friends
Become friends
Member watch
Follow
Blog
Browse
Blogs
Report
Report
Share