Hello.
I'll try to make a long story short.
I'm writing an application to handle an interactive floor. People walking on the floor are seen by a videocamera and represented in the application by an "array of circles". Translation: a person on the floor will be seen as a list of circles, each one with a center and a radius. For instance, see my hand seen by this application

(Ok, in this case the camera isn't pointing to the floor ^^_ )
I'd like to "bring my hand" inside my Box2D world. The idea is to create a set of cirular static or cinematic bodies whose position and size should move frame by frame to match the green circles.
A ball (or other dinamic bodies) will be on the floor, striked around by the moving green circles.
I see I can't "move around" static objects (no SetPos for a b2Body object).
It seems to me kinematic bodies are there to help me, but there's something I can't understand. How can I place them around simply manipulating their velocity?
Am I missing something?
Thanks for your attention and for any help you'll be able to provide.
I'll try to make a long story short.
I'm writing an application to handle an interactive floor. People walking on the floor are seen by a videocamera and represented in the application by an "array of circles". Translation: a person on the floor will be seen as a list of circles, each one with a center and a radius. For instance, see my hand seen by this application

(Ok, in this case the camera isn't pointing to the floor ^^_ )
I'd like to "bring my hand" inside my Box2D world. The idea is to create a set of cirular static or cinematic bodies whose position and size should move frame by frame to match the green circles.
A ball (or other dinamic bodies) will be on the floor, striked around by the moving green circles.
I see I can't "move around" static objects (no SetPos for a b2Body object).
It seems to me kinematic bodies are there to help me, but there's something I can't understand. How can I place them around simply manipulating their velocity?
Am I missing something?
Thanks for your attention and for any help you'll be able to provide.