- Jun 6, 2020
- 11,593
- 4,507
Here is an Exeltool which calculates the Masks according to the categories to which the single category shall collide.
Add your description in column A and put a '1' where the category should collide with.
Transfer the Category Bit and the Mask to the Tile properties or the programmed version:
B4X:
And according to (the Box2D Manual):
B4X:
So, when you fill it then start from the left to right until you reach the yellow cell, then go down. The upper triagle will be changed automatically.
The Sheet is password protected with an empty password just to save it from an intentionally changement of the formulars behind.
Add your description in column A and put a '1' where the category should collide with.
Transfer the Category Bit and the Mask to the Tile properties or the programmed version:
B4X:
Fire.Body.FirstFixture.SetFilterBits( 16, 65527 )And according to (the Box2D Manual):
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
The Sheet is password protected with an empty password just to save it from an intentionally changement of the formulars behind.
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید