Does Moving a Body Manually Cancel Collisions?

First of all, I'm running the C++ version of Box2D using Visual C++ 2010.

I'm manually moving a body around using SetTransform and it appears that collisions with other bodies seem to be failing. I've set the b2Filter.groupIndex property on all of the objects to 1. This has had no effect. I know that the body is in fact updating it's position because I am rendering it to the screen and it is definitely moving to the specified point.

void PhysicsTests::setBodyPosition( float x, float y )
{
b2Vec2 t = foot->GetTransform().position;
t.x = ( x / width ) * 10; // -- translates screen coords to world coords
t.y = ( y / height ) * 10; // -- translates screen coords to world coords
body->SetTransform( t, 0 );
}

There are a couple of other bodies in the world and I'm expecting to see collisions occurring when I manually move one of them. Perhaps it is an issue of the body having no momentum or velocity?

I'm fairly new to this framework, so any help would be greatly appreciated.

Thanks,
makemachine
Myself and others (eg. kuwait in the link below) have had a similar issue:

http://www.cocos2d-iphone.org/forum/topic/15022

It is probably to do with the body having no movement, but it might be to do with the body being asleep. So maybe make sure it's awake.
I also think it has something to do with the body having no momentum or velocity because the the Box2D code can't keep track of those parameters when you move the body yourself.

If you just want to move the body once and cause a collision then maybe you can fix that by putting the object at the required point and applying a very small impulse to it so that it barely moves but still causes a collision, for example:

Code:
ball->ApplyLinearImpulse(b2Vec2(0.1, 0.1), ball->GetPosition());


If you need to constantly move the body maybe it'll be better to use impulses or forces instead of moving the body with your own code.
Thanks for the suggestions. I found another solution too. The use case is pretty unique as I'm attaching rigid bodies to the joints of a user skeleton generated by a Kinect device. I found that connecting a b2MouseJoint to the each body and using b2MouseJoint.SetTarget( b2Vec2 ) works very well. The bodies are moved toward the targets and all of the physical forces are applied, allowing interaction ( collision, friction, ect... ) with other bodies.

Thanks,
makemachine
If you move a body manually you should get contact points the next time step. Otherwise this is a bug.

Original thread: https://box2d.org/forum/viewtopic.php?t=6766