movement of sprites with kinect and xna
Posted
by
pablopp83
on Game Development
See other posts from Game Development
or by pablopp83
Published on 2013-10-18T19:09:40Z
Indexed on
2013/10/18
22:19 UTC
Read the original article
Hit count: 247
im working on a proyect with kinect sdk and xna 4.0. i need take the position of the hands and draw a sprite over it. im doing it directly and, because of that, i get a "trembling hands" effect. so, i was thinking on make the sprite move from the previous position to the new one, given in every frame by the new hand position. this way, the sprite does not jump from one position to another. this is working just fine, but im using a constant value for the velocity, and i really would like to use a variable velocity given by the difference between the prev and the new position. this is, if the hand move more quickly in the reality, the velocity will be higher. I really dont have a clue on how to make this works. can somebody point me in the right direction? thanks.
© Game Development or respective owner