利用Box2D+WCK賦予Flash物理特性 各種連接器

馬老師在前面的文章中已經示範過基本的Box2D+WCK應用以及連接器的製作,這篇文章就來示範在這個模組中所有可以製作的連接器,連接器共有以下八種:

Box2D+WCK 連接器種類

這邊就分別針對這八種連接器做一些介紹和範例。

Distance:距離連接器,跟連接的目標保持一定的距離,被連結物件依然可以旋轉。

Distance Joint

Line:線性連接器,跟連接的目標保持一定的距離,被連結物件無法旋轉。

Line Joint

Mouse:位置連接器,即使被移動依然會回到連接器原始座標。

Mouse Joint

Prismatic:彈性連接器,可以更改不同的彈力數值。

Pulley:滑輪連接器,一邊施加力道另外一邊就會連動。

Pulley Joint

Revolute:轉動連接器,固定元件中心點。

Revolute Joint

Weld:焊接連接器,將不同的形狀焊接在一起。

Weld Joint

Friction:摩擦連接器,讓物體產生磨擦力。

Friction Joint

Rope:繩索連接器,用連接線連接物體。

Rope Joint

範例檔下載,上述的連結器範例,大家要注意我在連接器上面的組件設定,另外範例檔為CS5格式,下載後要重新設定來源路徑和元件庫路徑喔!(詳見第一篇Box2D+WCK)希望這個範例對大家有所幫助,如果還有疑問,也可以在這邊回應唷~

You may also like...

5,164 Responses

  1. Michaelcix表示:

    https://stromectolivermectin.pro/# ivermectin coronavirus

  2. Ycnghl表示:

    esomeprazole generic buy imitrex for sale imitrex 25mg drug

  3. Cthrinepisn表示:

    cheap write my essay
    essays custom
    help with essays

  4. Cthrinepisn表示:

    essay conclusion help
    online essay writers wanted
    buy essay

  5. RobertHiP表示:

    https://pillswithoutprescription.xyz/# canadian medications

  6. LeroyKep表示:

    https://buysildenafil.best/# sildenafil mexico

  7. Martinaback表示:

    https://buytadalafil.icu/# tadalafil cialis

  8. RobertHiP表示:

    https://pillswithoutprescription.xyz/# legal to buy prescription drugs from canada

  9. Going Here表示:

    have already been reading ur blog for a couple of days. really enjoy what you posted. btw i will be doing a report about this topic. do you happen to know any great websites or forums that I can find out more? thanks a lot.

  10. Visit Website表示:

    I like this weblog very much so much great info .

  11. Ɗr. John Rackham

    Ꭰr. John Rackham earned hiis Doctor оf Pharmacy
    degree from Washington Ѕtate University іn 2009.
    He is a mmber of tһe International Sociiety оf Cannabis Pharmacists (ISCPh) аnd iѕ currently
    ѡorking on hiis Endocannabinoid Medicine Certification, offered tһrough Thе American Journal оf Endocannabinoid Medicine.
    Нe is aⅼso a member of tһе American Pharmacists Association (APhA),tһe National Community Pharmacy Association (NCPA), аnd
    tthe Washington Ѕtate Pharmacy Association. Ηe earned a Certificatioon in Endocannabinoid Medicine from Cannabis Patient Caree іn 2022.

    Foг almost 12 years, Dr. Racfkham һas advised and educated patients оn how to best use their medication,
    safely аnd effectively. Іn 2017, he recognized tһe need and demand fߋr CBD education inn һiѕ own pharmacy.
    Realizing thhe potential health benefits tһat CBD сould
    offer, һe researched and sought ߋut a higһ-quality
    CBD manufacturer, tһen established and grew thе CBD porion of һis business.

    Dr. Rackham qᥙickly becаme an in-house CBD expert, providing
    guidance аnd counsel for proper use, including evidence-based indications,dosing, administration,
    ѕide effects, drug interactions, ɑnd expecdtations of therapy.

    Ӏn his spare time, he studies taekwondo ԝith his son,
    play in an ’80s rock cover band, ɑnd enjoys vacationing inn Hawaqii ᴡith hіs family.

    Lⲟok into my site :: Interior Landscapers

  12. bhutani表示:

    Hi, possibly i’m being a little off topic here, but I was browsing your site and it looks stimulating. I’m writing a blog and trying to make it look neat, but everytime I touch it I mess something up. Did you design the blog yourself?

  13. CharlesCic表示:

    minocycline 100mg stromectol 3 mg tablet

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。