I have a ball that I want to roll down the slope of a triangle, but it just gets stuck wherever it touches the triangle. Can anyone help fix this so that the ball simply rolls down? Here’s how i made my triangle:
local triangle = display.newImage(“obstacles/triangle.png”)
triangleShape = { 30,-30, -30,30, 30,30 }
physics.addBody(triangle, “static”, { density = 0, friction = 0, bounce = 0.1, shape = triangleShape} )
Thanks [import]uid: 42126 topic_id: 9186 reply_id: 309186[/import]
[import]uid: 3826 topic_id: 9186 reply_id: 33683[/import]