It looks like you're new here. If you want to get involved, click one of these buttons!
I am having trouble with moving a polygon type physics body.
For example
box = physics.body(POLYGON, vec2(WIDTH/2-100,50), vec2(WIDTH/2+100,50), vec2(WIDTH/2+100,250), vec2(WIDTH/2-100,50))
box.type = STATIC
I was trying to move by changing box.x and box.y value. But the polygon representation on the screen doesn't move.
Any idea??
Comments
Try kinematic instead.
Uhm, try something like this:
Using the PhysicsDebugDraw from Physics Lab example