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

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

  2. DanielTet表示:

    buy cytotec online fast delivery http://tamoxifen.bid/# п»їdcis tamoxifen
    lasix 100 mg tablet

  3. Stephenzek表示:

    https://furosemide.win/# lasix generic

  4. Jamesric表示:

    rx lisinopril: cheap lisinopril – where to buy lisinopril 2.5 mg

  5. Your style is unique compared to other folks I’ve read stuff from. Thank you for posting when you have the opportunity, Guess I’ll just book mark this page.

  6. Jamesric表示:

    tamoxifen and uterine thickening: Purchase Nolvadex Online – nolvadex pct

  7. DanielTet表示:

    purchase cytotec https://tamoxifen.bid/# tamoxifen side effects forum
    buy lasix online

  8. Stephenzek表示:

    https://furosemide.win/# lasix 40mg

  9. Fitness gear表示:

    I couldn’t refrain from commenting. Exceptionally well written.

  10. Hi, I do believe this is an excellent site. I stumbledupon it 😉 I may come back once again since I bookmarked it. Money and freedom is the best way to change, may you be rich and continue to guide others.

  11. Nnogvh表示:

    buy calcort without a prescription – alphagan for sale online buy generic brimonidine for sale

  12. Discover unique fashion pieces at citizens of humanity.

  13. Great information. Lucky me I ran across your blog by accident (stumbleupon). I have bookmarked it for later.

  14. DouglasGed表示:

    top 10 pharmacies in india: Indian pharmacy international shipping – indian pharmacy paypal

  15. Excellent site you have got here.. It’s hard to find excellent writing like yours nowadays. I seriously appreciate individuals like you! Take care!!

  16. DouglasGed表示:

    buy ed meds online: Best ED pills non prescription – online ed medicine

  17. Howdy! I could have sworn I’ve visited this site before but after browsing through many of the posts I realized it’s new to me. Regardless, I’m certainly delighted I came across it and I’ll be bookmarking it and checking back often.

  18. DouglasGed表示:

    cheap boner pills: Cheapest online ED treatment – ed drugs online

  19. It’s hard to come by well-informed people in this particular subject, but you sound like you know what you’re talking about! Thanks

  20. Good site you have got here.. It’s hard to find excellent writing like yours nowadays. I truly appreciate individuals like you! Take care!!

  21. DouglasGed表示:

    reputable indian online pharmacy: indian pharmacy – online shopping pharmacy india

  22. I’m impressed, I have to admit. Rarely do I come across a blog that’s equally educative and engaging, and let me tell you, you’ve hit the nail on the head. The issue is something which not enough folks are speaking intelligently about. Now i’m very happy that I stumbled across this in my search for something relating to this.

  23. DouglasGed表示:

    online prescription for ed: Best ED pills non prescription – discount ed pills

  24. I could not refrain from commenting. Well written.

  25. Leonardpar表示:

    https://mexicopharmacy.win/# buying prescription drugs in mexico online

  26. DouglasGed表示:

    purple pharmacy mexico price list: Mexico pharmacy online – mexican online pharmacies prescription drugs

  27. An outstanding share! I have just forwarded this onto a coworker who was conducting a little research on this. And he in fact bought me dinner simply because I found it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending the time to talk about this subject here on your site.

  28. Leonardpar表示:

    https://edpillpharmacy.store/# cheap erection pills

  29. DouglasGed表示:

    cheap ed medication: п»їed pills online – pills for erectile dysfunction online

發佈留言

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