Hi,
I've got a very annoying problem with b2body#SetPosition() method, right after the collision occurs on the body.
The method just doesn't work until a couple of world steps are passed.
The only way I found to work around this issue is to set up a timer which will call this method, until body's position is what I need.
But it appears to be very clumsy.
So, the question is: is it possible to force the body to change its position despite any contacts and other circumstances?
p.s. I'm using box2d 2.1a.
regards, Konstantin.
I've got a very annoying problem with b2body#SetPosition() method, right after the collision occurs on the body.
The method just doesn't work until a couple of world steps are passed.
The only way I found to work around this issue is to set up a timer which will call this method, until body's position is what I need.
But it appears to be very clumsy.
So, the question is: is it possible to force the body to change its position despite any contacts and other circumstances?
p.s. I'm using box2d 2.1a.
regards, Konstantin.