利用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,711 Responses

  1. Spot on with this write-up, I truly feel this website needs a great deal more attention. I’ll probably be returning to see more, thanks for the advice.

  2. Jamesric表示:

    lipitor rx cost: Lipitor 10 mg price – lipitor tablets 10mg price

  3. Explore a wide range of styles at paige jeans outlet.

  4. Jamesric表示:

    tamoxifen and osteoporosis: buy tamoxifen citrate – tamoxifen dosage

  5. Hotels表示:

    bookmarked!!, I love your website!

  6. DanielTet表示:

    order cytotec online http://tamoxifen.bid/# does tamoxifen cause menopause
    lasix 100mg

  7. Jamesric表示:

    buy lipitor from india: cheapest ace inhibitor – lipitor discount

  8. Having read this I believed it was really enlightening. I appreciate you taking the time and energy to put this informative article together. I once again find myself spending a lot of time both reading and leaving comments. But so what, it was still worth it!

  9. Stephenzek表示:

    https://lisinopril.guru/# lisinopril 5 mg pill

  10. Transform your wardrobe with elegant pieces from alice and olivia clothing.

  11. Aw, this was an exceptionally good post. Spending some time and actual effort to produce a superb article… but what can I say… I put things off a whole lot and never manage to get nearly anything done.

  12. DanielTet表示:

    buy cytotec over the counter https://lipitor.guru/# lipitor generic price canada
    lasix 100 mg

  13. Jamesric表示:

    furosemide 40mg: lasix 100mg – furosemida 40 mg

  14. Stephenzek表示:

    http://tamoxifen.bid/# nolvadex estrogen blocker

  15. Jamesric表示:

    lipitor for sale: Lipitor 10 mg price – lipitor generic australia

  16. Good info. Lucky me I came across your site by chance (stumbleupon). I’ve bookmarked it for later.

  17. DanielTet表示:

    Misoprostol 200 mg buy online http://cytotec.pro/# purchase cytotec
    lasix side effects

  18. Jamesric表示:

    lipitor brand name: cheapest ace inhibitor – lipitor brand name cost

  19. Upgrade your wardrobe with the latest from agolde jeans.

  20. Stephenzek表示:

    http://tamoxifen.bid/# tamoxifen breast cancer

  21. DanielTet表示:

    п»їcytotec pills online https://tamoxifen.bid/# п»їdcis tamoxifen
    furosemide 40 mg

  22. Stanleyinolf表示:

    tamoxifen generic Purchase Nolvadex Online tamoxifen citrate

  23. Your blog post was a real eye-opener for me. Thank you for challenging my preconceived notions and expanding my worldview.

  24. Very good post! We are linking to this particularly great article on our website. Keep up the good writing.

  25. Pikbff表示:

    buy besifloxacin no prescription – purchase besifloxacin online cheap sildamax drug

  26. Stephenzek表示:

    https://lipitor.guru/# lipitor purchase online

  27. DanielTet表示:

    buy cytotec pills https://lisinopril.guru/# cost of lisinopril 10 mg
    buy furosemide online

  28. Jamesric表示:

    can i buy lisinopril over the counter: Lisinopril refill online – lisinopril tab 5 mg price

發佈留言

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