利用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...

8,662 Responses

  1. Jeffreyvop表示:

    mexico pharmacies prescription drugs: Purple pharmacy online ordering – mexico drug stores pharmacies

  2. Предлагаем услуги профессиональных инженеров офицальной мастерской.
    Еслли вы искали ремонт телефонов xiaomi цены, можете посмотреть на сайте: ремонт телефонов xiaomi
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  3. Предлагаем услуги профессиональных инженеров офицальной мастерской.
    Еслли вы искали ремонт телевизоров lg рядом, можете посмотреть на сайте: ремонт телевизоров lg в москве
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  4. Ernestzow表示:

    online pharmacy india: Indian pharmacy international shipping – reputable indian online pharmacy

  5. StephenJem表示:

    http://indiapharmi.com/# Online medicine home delivery

  6. Willardvem表示:

    http://indiapharmi.com/# buy prescription drugs from india

  7. MatthewHen表示:

    Online medicine order Best Indian pharmacy reputable indian pharmacies

  8. Jeffreyvop表示:

    mexican mail order pharmacies: Purple pharmacy online ordering – mexico pharmacies prescription drugs

  9. Willardvem表示:

    http://mexicanpharmi.com/# п»їbest mexican online pharmacies

  10. MatthewHen表示:

    best online pharmacies in mexico Mexican pharmacy ship to usa mexican pharmaceuticals online

  11. StephenJem表示:

    https://canadianpharmi.com/# online ed drugs

  12. StephenJem表示:

    https://indiapharmi.com/# п»їlegitimate online pharmacies india

  13. Jeffreyvop表示:

    canadian medications: Canadian pharmacy prices – how to help ed

  14. Willardvem表示:

    https://canadianpharmi.com/# otc ed drugs

  15. MatthewHen表示:

    buy medicines online in india Indian pharmacy international shipping п»їlegitimate online pharmacies india

  16. StephenJem表示:

    https://mexicanpharmi.com/# mexican online pharmacies prescription drugs

  17. Ernestzow表示:

    pharmacies in mexico that ship to usa: Mexican pharmacies that ship to the United States – mexican border pharmacies shipping to usa

  18. Jeffreyvop表示:

    best india pharmacy: india pharmi – world pharmacy india

  19. Willardvem表示:

    https://canadianpharmi.com/# medicine for erectile

  20. Make Money Online with MillionFormula

    Hello every one, here every person is sharing these kinds of familiarity, therefore it’s fastidious to read this blog, and
    I used to go to see this webpage every day.

  21. StephenJem表示:

    http://mexicanpharmi.com/# buying prescription drugs in mexico online

  22. MatthewHen表示:

    mexico drug stores pharmacies Best online Mexican pharmacy purple pharmacy mexico price list

  23. StephenJem表示:

    http://mexicanpharmi.com/# best online pharmacies in mexico

  24. Justinlib表示:

    http://casinositeleri2025.pro/# kumar oynama siteleri

  25. Josephnor表示:

    en yeni bet siteleri: tl casino – kazino online

  26. Justinlib表示:

    https://slottr.top/# az parayla cok kazandiran slot oyunlar?

發佈留言

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