Obstacle on spinning circle?

How can I make an obstacle that is coming inside of the circle so the runner, who is inside on the circle can jump through that ?

One more thing:

local physics = require(“physics”)

physics.start()

physics.setGravity(0, 9.8)

local background = display.newImage(“bg.png”)

background.x = display.contentWidth/2

background.y = display.contentHeight/2

local circle = display.newImage(“circle.png”)

circle.x = display.contentWidth/2

circle.y = display.contentHeight/2

local runner = display.newImage(“runner.png”)

runner.x = display.contentWidth/2

runner.y = display.contentHeight/2

runner:scale( 0.5, 0.5)

physics.addBody(circle, “static”, {density=1, bounce=0, friction=.2, radius= 360})

local circlespin = transition.to(circle, {time = 3000, rotation = 360, iterations = -1})

This is my code,but when I add body (Runner) it disappears,when i make him “static” he stays,but when I make him “dynamic” or something else he disappears.Why?

I don’t understand your first question.

But from what i understand on the second one is that when you make the runner static he doesnt move but when you make him dynamic he moves down and off screen? try this…

local runner = display.newImage("runner.png") runner.x = display.contentWidth/2 runner.y = display.contentHeight/2 runner:scale( 0.5, 0.5) physics.addBody(runner, "dynamic") runner.gravityScale = 0

Im not sure if gravity scale will work if the 

physics.setGravity(0, 9.8)

is there… maybe remove that and just use gravity scale and add it to your objects…?

Thanks for reply,but it doesn’t work.

He still stays in the middle of the circle.

This is my code for circle:

local circle = display.newImage(“circle.png”)

circle.x = display.contentWidth/2

circle.y = display.contentHeight/2

rotate = 0

function onenterFrame(event)

circle:setRotation(rotate)

rotate = rotate + 5

end

circle:addEventListener(onenterFrame, circle)

I still don’t understand what it is exactly that you want… Can you reexplain it? If possible maybe even add your folder so I could look at it and fix it?

Doesn’t matter.I started new game and a new topic on forum so if you can, you can help me there because I understanded that I cannot make this game,'cause I’m new to corona :slight_smile:

Thanks for everything! 

Please re explain your problem? Thanks

I don’t understand your first question.

But from what i understand on the second one is that when you make the runner static he doesnt move but when you make him dynamic he moves down and off screen? try this…

local runner = display.newImage("runner.png") runner.x = display.contentWidth/2 runner.y = display.contentHeight/2 runner:scale( 0.5, 0.5) physics.addBody(runner, "dynamic") runner.gravityScale = 0

Im not sure if gravity scale will work if the 

physics.setGravity(0, 9.8)

is there… maybe remove that and just use gravity scale and add it to your objects…?

Thanks for reply,but it doesn’t work.

He still stays in the middle of the circle.

This is my code for circle:

local circle = display.newImage(“circle.png”)

circle.x = display.contentWidth/2

circle.y = display.contentHeight/2

rotate = 0

function onenterFrame(event)

circle:setRotation(rotate)

rotate = rotate + 5

end

circle:addEventListener(onenterFrame, circle)

I still don’t understand what it is exactly that you want… Can you reexplain it? If possible maybe even add your folder so I could look at it and fix it?

Doesn’t matter.I started new game and a new topic on forum so if you can, you can help me there because I understanded that I cannot make this game,'cause I’m new to corona :slight_smile:

Thanks for everything! 

Please re explain your problem? Thanks