Create spinning incomplete circle with physical on parts

Hi guys,

I’ve work on my first game, and now i want to create some obstacles on more advance levels, until now i always use newRectIamge method to use some images. But my idea is using a kind of incomplete circle that i intent rotate infinity and i need to apply physical body in some circles parts, like the attach image and user can collide with that parts of a circle. 

My question is, how to create that? I want the player have the ability for entry and exit from a middle of a circle, while the circle rotate relation to the center.  I dont know if the best option is using a image, or create a polygon to create 4 small pieces of that circle. If i use and image i can’t put the user on a middle rigth?

Can you guide on this?

Thanks in advance 

Hi @masterviana,

The best way to build this object (with physics) is to create a multi-element body. The following tutorial shows you exactly how to do it:

https://coronalabs.com/blog/2013/01/08/working-with-multi-element-physics-bodies/

Take care,

Brent

Tanks Brent, i’m not know anything about this. I’ve using a software called physicseditor for create the point where physic needs to apply, and it’s is very easy and quick.

Thanks for the quick response 

Hi @masterviana,

The best way to build this object (with physics) is to create a multi-element body. The following tutorial shows you exactly how to do it:

https://coronalabs.com/blog/2013/01/08/working-with-multi-element-physics-bodies/

Take care,

Brent

Tanks Brent, i’m not know anything about this. I’ve using a software called physicseditor for create the point where physic needs to apply, and it’s is very easy and quick.

Thanks for the quick response