The ground is a box that is static, which Box2D knows, because the box has zero mass (by default) and therefore doesn't collide with other objects.
地面是一个静止的立方体,这是Box2D已知的,因为这个立方体的质量为零(默认),因此不会与其他物体相撞。
The ground is a box that is static, which Box2D knows, because the box has zero mass (by default) and therefore doesn't collide with other objects.
地面是一个静止的立方体,这是Box2D已知的,因为这个立方体的质量为零(默认),因此不会与其他物体相撞。
应用推荐