B4X FEED [Tool] Collision Bits and Masks Calculator - Collision filtering

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [Tool] Collision Bits and Masks Calculator - Collision filtering است. این موضوع تا کنون 66 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [Tool] Collision Bits and Masks Calculator - Collision filtering
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
66
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
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:

Fire.Body.FirstFixture.SetFilterBits( 16, 65527 )
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.

برای دیدن تصاویر باید ثبت نام کنید


 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا