how to find the vertices of irrigular ccsprite

Discuss issues specific to using Box2D on the iPhone
mibrahim025
Posts: 1
Joined: Sat Jul 27, 2013 11:14 pm

how to find the vertices of irrigular ccsprite

Postby mibrahim025 » Sat Jul 27, 2013 11:41 pm

Vertices Problem?
How can i find the vertices of the tilted bar in the following image. I need to define collision of the ball with this tilted bar. Please someone give me a suggestion. Thanks. The titled bar image is a ccsprite that i have added as user data to a static body. The position of the titled bar is

Code: Select all

ccp(winSize.width/2, winSize.height/1.5).


Image.

Return to “iPhone”



Who is online

Users browsing this forum: No registered users and 1 guest