I am learning the Box2D. I am having one problem The problem definition is as follows:
I am having a fixed point, surrounded by a circle of some fixed radius. I am dragging a body. There are 2 points on the body. As soon as the body enters into the circle, the nearest point should be merged with the point inside circle.
I am able to solve this problem by translating the body by that distance. But it got solved only for the single body. If there are multiple bodies connected to each other, then the translation logic is not working.
Can anyone guide me for solving this problem?
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests