Howdy.
Is there a method, when creating an object with shapedef and bodydef. to make it have a hole in it?
For exemple i want a rectangle 100x100 with a circle hole in the center of it, the circle hole being 10x10. I tohught doing it like this, just make 2 shapedefs in the actor object one the rectangle one the circle, set their positions and make circle with isSensor=true. but doesnt work. Any other way?
Is there a method, when creating an object with shapedef and bodydef. to make it have a hole in it?
For exemple i want a rectangle 100x100 with a circle hole in the center of it, the circle hole being 10x10. I tohught doing it like this, just make 2 shapedefs in the actor object one the rectangle one the circle, set their positions and make circle with isSensor=true. but doesnt work. Any other way?