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

  1. Nelsonbluck表示:

    medicine in mexico pharmacies: purple pharmacy mexico price list – purple pharmacy mexico price list

  2. DominicJaw表示:

    medication from mexico pharmacy: reputable mexican pharmacies online – medication from mexico pharmacy

  3. Arnoldten表示:

    mexican drugstore online mexico drug stores pharmacies mexican drugstore online

  4. Nelsonbluck表示:

    п»їbest mexican online pharmacies: pharmacies in mexico that ship to usa – medicine in mexico pharmacies

  5. WayneCoirl表示:

    mexican online pharmacies prescription drugs: п»їbest mexican online pharmacies – п»їbest mexican online pharmacies

  6. DominicJaw表示:

    buying prescription drugs in mexico online: best online pharmacies in mexico – best online pharmacies in mexico

  7. RichardWrifs表示:

    http://mexicandeliverypharma.com/# mexican border pharmacies shipping to usa

  8. Arnoldten表示:

    mexican border pharmacies shipping to usa mexican pharmacy buying from online mexican pharmacy

  9. Nelsonbluck表示:

    mexico drug stores pharmacies: mexico pharmacies prescription drugs – mexican rx online

  10. Michaelclich表示:

    Welcome to our portal, your premier source for all the latest stories and updates on the communications landscape in the United Kingdom. Whether you’re curious in television, broadcast radio, print, or internet media, we present thorough coverage that keeps you updated about the key developments and patterns. From just-in bulletins to comprehensive analyses, our team of skilled journalists and industry professionals work relentlessly to bring you the most accurate and current data – https://thehobbiesandinterestsregister.co.uk/art/the-biggest-football-stadium-in-the-uk.html
    In addition to updates, we offer informative features and opinion columns that delve into the nuances of the media industry. Our reports cover a wide range of topics, including regulatory changes, media possession, and the impact of new developments. We also emphasize the milestones and challenges faced by media professionals, offering a platform for voices from throughout the industry to be heard and respected.
    Stay connected with the pulse of the UK media scene through our regularly updated content. Whether you’re a media professional, a student, or simply a media enthusiast, our portal is designed to appeal to your needs and needs. Participate in our growing community of readers and ensure you’re always in the know about the dynamic and ever-evolving world of media in the United Kingdom.

  11. WayneCoirl表示:

    mexico pharmacies prescription drugs: buying prescription drugs in mexico – best online pharmacies in mexico

  12. DominicJaw表示:

    mexico pharmacies prescription drugs: medication from mexico pharmacy – mexico drug stores pharmacies

  13. Arnoldten表示:

    purple pharmacy mexico price list mexico pharmacies prescription drugs buying from online mexican pharmacy

  14. Nelsonbluck表示:

    mexico drug stores pharmacies: medicine in mexico pharmacies – mexican pharmaceuticals online

  15. RichardWrifs表示:

    https://mexicandeliverypharma.com/# mexican border pharmacies shipping to usa

  16. WayneCoirl表示:

    pharmacies in mexico that ship to usa: buying prescription drugs in mexico online – reputable mexican pharmacies online

  17. DominicJaw表示:

    best online pharmacies in mexico: reputable mexican pharmacies online – pharmacies in mexico that ship to usa

  18. Arnoldten表示:

    buying prescription drugs in mexico online mexican rx online mexico drug stores pharmacies

  19. RichardWrifs表示:

    https://mexicandeliverypharma.online/# mexican border pharmacies shipping to usa

  20. WayneCoirl表示:

    purple pharmacy mexico price list: pharmacies in mexico that ship to usa – medicine in mexico pharmacies

  21. DominicJaw表示:

    mexican rx online: mexican pharmaceuticals online – pharmacies in mexico that ship to usa

  22. Arnoldten表示:

    reputable mexican pharmacies online pharmacies in mexico that ship to usa mexico drug stores pharmacies

  23. DominicJaw表示:

    pharmacies in mexico that ship to usa: purple pharmacy mexico price list – mexico pharmacies prescription drugs

  24. WayneCoirl表示:

    mexican mail order pharmacies: mexican border pharmacies shipping to usa – best online pharmacies in mexico

  25. Cdkmqh表示:

    buy finasteride tablets – order alfuzosin for sale alfuzosin pill

  26. RichardWrifs表示:

    https://mexicandeliverypharma.online/# mexican mail order pharmacies

  27. Arnoldten表示:

    best online pharmacies in mexico mexican rx online medicine in mexico pharmacies

  28. Uuakuf表示:

    buy speman pills for sale – cheap speman pill purchase finasteride pill

  29. You are so interesting! I don’t think I’ve truly read through a single thing like that before. So good to find somebody with some unique thoughts on this subject matter. Seriously.. many thanks for starting this up. This website is one thing that’s needed on the web, someone with a little originality.

  30. seo表示:

    Howdy! This is my first comment here so I just wanted to give a quick shout out and
    say I truly enjoy reading through your articles. Can you recommend
    any other blogs/websites/forums that deal with the same topics?
    Thank you!

發佈留言

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