Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Box2d 1 dimensional wall — Gideros Forum

Box2d 1 dimensional wall

ZizanymanZizanyman Member
edited November 2014 in General questions
I am using box2d for physics in my game and I came across a problem. In the game , I want to generate a wall in a random position on the screen. Then, you will have to draw a line as close to that wall as possible. The problem is, if I randomly generated coordinates for the wall, it wouldn't be flat. I want to generate a flat wall in a random position on the screen. Is there any way to do this?

Likes: Zizanyman

+1 -1 (+1 / -0 )Share on Facebook

Comments

Sign In or Register to comment.