利用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. It’s nearly impossible to find educated people for this topic, but you seem like you know what you’re talking about! Thanks

  2. This web page was final edited on 28 August 2024, at 18:32 (UTC).

  3. RobertAcele表示:

    http://paxlovid.ink/# Paxlovid.ink

  4. HarryAudix表示:

    where to buy neurontin: Gabapentin Pharm – Gabapentin Pharm

  5. Pollock (1859-1896) (available online at Pollock Reminiscences: A set of Chess Games, Problems, &c., &c..

  6. How do sites like Facebook and Google make so much money without offering physical products? It’s easy: they profit from the massive number of people who visit their sites and interact with the ads. They’ve built huge companies by directing visitors to advertisers. You can do the same: you can adopt this model to attract visitors, generate leads, and make sales for YOUR company—and it’s all above board. See for yourself by clicking the image in the comments!

  7. HarryAudix表示:

    Ivermectin Pharm: Ivermectin Pharm – Ivermectin Pharm Store

  8. FrankMar表示:

    Gabapentin Pharm: neurontin 300mg tablet cost – neurontin price india

  9. RobertAcele表示:

    https://ivermectinpharm.store/# minocycline 50mg without prescription

  10. HarryAudix表示:

    Paxlovid.ink: Paxlovid over the counter – paxlovid pharmacy

  11. Edwardwhogy表示:

    Amoxil Pharm Store AmoxilPharm can you purchase amoxicillin online

  12. RobertAcele表示:

    https://amoxilpharm.store/# Amoxil Pharm Store

  13. FrankMar表示:

    Paxlovid.ink: Paxlovid.ink – Paxlovid.ink

  14. Free Consultation – Call 24/7 – Fee is Free – You do not Pay Unless We Win.

  15. Okinawa. The British design had efficiently resisted such attacks, whilst the U.S.

  16. Both were well above the minimum required prize fund.

  17. Palmer, Annie (31 March 2020).

  18. urogram shows the left kidney to be 7cm long and the right kidney to be 10 cm long INT 850 can you get cytotec online

  19. 12 months Winner Nominees Ref.

  20. Great goods from you, man. I’ve understand your stuff previous to and you’re just too wonderful.
    I actually like what you have acquired here, certainly like what you are
    stating and the way in which you say it. You make it enjoyable and you still care for to
    keep it sensible. I cant wait to read much more from you.

    This is really a terrific web site.

  21. AdolfoAnove表示:

    buy medicines online in india: indian pharm – reputable indian pharmacies

  22. Shi Shouxin said calmly, Hongzhou hurriedly reported, and the defender Lu Jiang was sent best over the counter erection pills at walmart Taking A Male Enhancement to surrender without losing a single soldier or soldier where buy cheap cytotec pills I now have trouble concentrating and processing thoughts, unable to focus on what people are telling me

  23. Thomasjoync表示:

    mexican rx online Pharm Easy mexican border pharmacies shipping to usa

  24. CarlosSlala表示:

    medicines for ed: canadian pharmacy – erectile dysfunction

  25. Frankmor表示:

    prescription drugs without doctor approval https://mexicanpharmeasy.com/# mexican pharmaceuticals online

  26. AdolfoAnove表示:

    indian pharmacy online: IndianPharmStar.com – mail order pharmacy india

  27. Scottlully表示:

    buying from online mexican pharmacy: Mexican Pharm – mexican drugstore online

  28. Mhkgyw表示:

    eriacta flash – sildigra owl forzest team

  29. Thomasjoync表示:

    cheapest online pharmacy india indian pharmacy pharmacy website india

  30. AdolfoAnove表示:

    mexico pharmacies prescription drugs: mexicanpharmeasy.com – mexican drugstore online

發佈留言

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