Hello,
I just moved from 2.0.1 to the new 2.1.0 and I am experiencing a problem.
In my editor I set gravity to zero and use body.settransform(position, angle); (previously setXform) to move an object with the mouse.
But settransform doesn't appear to move the object in real-time, even when you try to wake the body.
What I found was that I would move an object to a new location (even though it doesn't move there) and then create a new box2d object. Only when the new object contacts the surface of a ground fixture does the original object suddenly pop to the location i previously requested.
i have no idea why its doing that. I looked in the manual but it doesn't suggest I have to do anything more after the settransform.
Is this a bug?
Thanks,
Cameron
😐
I just moved from 2.0.1 to the new 2.1.0 and I am experiencing a problem.
In my editor I set gravity to zero and use body.settransform(position, angle); (previously setXform) to move an object with the mouse.
But settransform doesn't appear to move the object in real-time, even when you try to wake the body.
What I found was that I would move an object to a new location (even though it doesn't move there) and then create a new box2d object. Only when the new object contacts the surface of a ground fixture does the original object suddenly pop to the location i previously requested.
i have no idea why its doing that. I looked in the manual but it doesn't suggest I have to do anything more after the settransform.
Is this a bug?
Thanks,
Cameron
😐