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

  1. This is a good tip particularly to those new to the blogosphere. Brief but very precise info… Thanks for sharing this one. A must read post.

  2. ratu89 apk表示:

    I got this web page from my buddy who told me concerning this web page and now this time I
    am visiting this web page and reading very informative content here.

  3. Can I simply say what a relief to find somebody who really understands what they are talking about online. You definitely realize how to bring a problem to light and make it important. More and more people really need to read this and understand this side of your story. I was surprised you are not more popular since you surely have the gift.

  4. DouglasGed表示:

    mexican mail order pharmacies: Medicines Mexico – mexican drugstore online

  5. Leonardpar表示:

    https://edpillpharmacy.store/# online erectile dysfunction prescription

  6. DouglasGed表示:

    indian pharmacy: Top mail order pharmacies – Online medicine order

  7. betvisa表示:

    Oh my goodness! Awesome article dude! Thanks, However I am going through difficulties with your RSS. I don’t understand why I am unable to join it. Is there anyone else having identical RSS problems? Anyone that knows the answer can you kindly respond? Thanx!!

  8. Leonardpar表示:

    https://edpillpharmacy.store/# ed meds online

  9. DouglasGed表示:

    online shopping pharmacy india: Best Indian pharmacy – online pharmacy india

  10. ag jeans表示:

    Shop stylish fashion at montbell outlet.

  11. Dgnllp表示:

    lactulose usa – order betahistine pills order betahistine generic

  12. Waphit表示:

    imusporin order online – order methotrexate 5mg generic colchicine 0.5mg us

  13. ag jeans表示:

    Discover unique fashion pieces at citizens of humanity.

  14. Leonardpar表示:

    http://mexicopharmacy.win/# pharmacies in mexico that ship to usa

  15. DouglasGed表示:

    buy ed medication online: ED meds online with insurance – ed rx online

  16. ag jeans表示:

    Explore fashionable styles at mammut clothing.

  17. Fantastic website. A lot of helpful info here. I am sending it to some friends ans also sharing in delicious.
    And certainly, thanks for your sweat!

  18. I couldn’t refrain from commenting. Well written.

  19. DouglasGed表示:

    п»їbest mexican online pharmacies: mexican pharmacy – п»їbest mexican online pharmacies

  20. Leonardpar表示:

    https://indiapharmacy.shop/# top 10 online pharmacy in india

  21. DouglasGed表示:

    cheap boner pills: Best ED pills non prescription – discount ed pills

  22. ag jeans表示:

    Upgrade your style with chic fashion from forever 21.

  23. Leonardpar表示:

    http://mexicopharmacy.win/# reputable mexican pharmacies online

  24. DouglasGed表示:

    mexican online pharmacies prescription drugs: Medicines Mexico – medication from mexico pharmacy

  25. sex表示:

    After exploring a few of the articles on your site, I honestly like your technique of blogging. I book marked it to my bookmark site list and will be checking back in the near future. Please check out my web site as well and tell me how you feel.

  26. DouglasGed表示:

    generic ed meds online: cheap ed pills online – online erectile dysfunction prescription

  27. Shop the latest trends at STAUD Official Site.

  28. Leonardpar表示:

    http://edpillpharmacy.store/# order ed meds online

  29. DouglasGed表示:

    mexican border pharmacies shipping to usa: mexican pharmacy – mexican drugstore online

  30. Discover unique styles at Z SUPPLY Clothing.

發佈留言

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