Hi guys,
just got a Kinect for GMod: it's fun!
But has anyone managed to get something different than just controlling ragdolls?
I've checked the wiki and it says it's quite easy to create something new, but I'm not that sure.
ply:MotionSensorPos( point_id ) seems the core but in motionsensor.lua there's a lot more.
Where should I start looking to create a simple script?
I've managed to get the Kinect working on a custom gamemode, but how can I print out vectors of specific bones?
That would be a good start.
Thanks for the help
ply:MotionSensorPos( point_id ) should be pretty much the bone position. id is from 0 or 1 to 19.
I don't think anyone here has kinect from windows to mess around with.
Did you get the XBox One Kinect v2 one or the 360 one?
[QUOTE=Robotboy655;45710823]ply:MotionSensorPos( point_id ) should be pretty much the bone position. id is from 0 or 1 to 19.
I don't think anyone here has kinect from windows to mess around with.
Did you get the XBox One Kinect v2 one or the 360 one?[/QUOTE]
The 360 Kinect.
I've seen some scripts involving Wiremod, but I've never used it.
I'll ask in Wiremod's forum for further info.
I don't really think you can be really creative with it anyways.
Is it really worth your time?
[QUOTE=Netheous;45723128]I don't really think you can be really creative with it anyways.
Is it really worth your time?[/QUOTE]
My idea was to control the aim or interact with objects and weapons.
What do you think?
[QUOTE=Netheous;45723128]I don't really think you can be really creative with it anyways.
Is it really worth your time?[/QUOTE]
I think you can be
Imagine one of these arcade games where you point a gun at the arcade machine :v:
[QUOTE=LennyPenny;45729473]I think you can be
Imagine one of these arcade games where you point a gun at the arcade machine :v:[/QUOTE]
Yeah, it'd be fun!
Anyway I've found a thread where a guy made an addon for Wiremod (unfortunately his mail doesn't exist anymore):
[url]http://www.wiremod.com/forum/wiremod-addons-coding/31133-motion-sensor-kinect-interface.html[/url]
Using the debugging tool you can see all vectors, but I'm still figuring out how this addon actually works (as I said I've never used Wiremod). Anyway I'm checking his scripts for some hints.
Sorry, you need to Log In to post a reply to this thread.