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

  1. trani表示:

    If you are already interested in holding tokens like BNB, CRO, and WXT, cards like Binance Card, Crypto Visa Card, and Wirex Card are probably worth it. However, these tokens are volatile, and the value of your token holdings could depreciate by much more than what you earn in rewards on your card spending. Among these cards, the Binance Visa Card probably offers the best value proposition. Since the Crypto Rewards Visa is a prepaid debit card and not a credit card, you may want to pick up a traditional credit card as well. Doing so can help you qualify for cardholder benefits you typically only get with credit cards, as well as zero fraud protection for unauthorized purchases. Meanwhile, a regular credit card can come in handy if you need access to a line of credit for emergency expenses, or if you need to consolidate and pay down high-interest debt with a balance transfer credit card.
    https://www.camillashousemakes.com/forum/general-discussions/most-viewed-cryptocurrencies
    Market depth is a metric, which is showing the real liquidity of the markets. Due to rampant wash-trading and fake activity – volume currently isn’t the most reliable indicator in the crypto space. During the past 24 hours, conversion between 1 EFT to USD has been valued at a maximum of 0.000000005456 and a minimum of 0.000000005422 USD. Recently Listed Using this unique tokenomics and smart contract, it allows crypto-currency investors to earn a regular dividend in the form of Binance Pegged ETH on an hourly basis by simply holding the token in the account. By simply holding the token in their wallet. ETH Fan Token Ecosystem Price Prediction, or EFT, will experience tremendous growth in 2028 as it has the potential to achieve new highs in terms of price points and market cap. ETH Fan Token Ecosystem’s price is expected to surpass $0.0000000247 in 2028. It has been predicted that ETH Fan Token Ecosystem will reach the maximum price of $0.0000000247 and the minimum price is expected to be around $0.0000000207 in the next five years from 2028.

  2. Приветствую. Подскажите, где почитать разные статьи о недвижимости? Пока нашел https://glatt-nsk.ru

  3. JamesBak表示:

    doxycycline 100mg price uk: how to get doxycycline online – how to get doxycycline 100mg

  4. I’m more than happy to uncover this great site. I want to to thank you for your time for this wonderful read!! I definitely appreciated every little bit of it and I have you book marked to see new things in your web site.

  5. Shop the latest styles in shoes and clothing at ayouba.com.

  6. ThomasDet表示:

    http://ciprodelivery.pro/# ciprofloxacin over the counter

  7. JamesBak表示:

    can i buy doxycycline over the counter in europe: doxycycline 100mg acne – doxycycline 400 mg brand name

  8. Bkstxc表示:

    order gasex without prescription – ashwagandha without prescription how to get diabecon without a prescription

  9. Urakcj表示:

    purchase lasuna – purchase diarex sale cheap himcolin tablets

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

  11. DavidHiche表示:

    medication from mexico pharmacy: buying prescription drugs in mexico online – mexican drugstore online

  12. CharlesDom表示:

    reputable mexican pharmacies online mexican drugstore online buying prescription drugs in mexico

  13. DavidHiche表示:

    buy prescription drugs from india: top 10 pharmacies in india – reputable indian pharmacies

  14. Elevate your style with deals on Marc Jacobs from the marc jacobs factory outlet online.

  15. Edwardwhava表示:

    http://foruspharma.com/# mexican mail order pharmacies

  16. DavidHiche表示:

    reliable canadian pharmacy reviews: canadian family pharmacy – trusted canadian pharmacy

  17. CharlesDom表示:

    indian pharmacy reputable indian online pharmacy top 10 pharmacies in india

  18. MichaelKeT表示:

    mexican drugstore online: mexico pharmacy – mexico pharmacies prescription drugs

  19. DavidHiche表示:

    canadian pharmacies comparison: legit canadian pharmacy – northwest pharmacy canada

  20. Edwardwhava表示:

    http://indiapharmast.com/# п»їlegitimate online pharmacies india

  21. CharlesDom表示:

    purple pharmacy mexico price list п»їbest mexican online pharmacies п»їbest mexican online pharmacies

  22. DavidHiche表示:

    canadian pharmacy near me: canadian pharmacy online – canada pharmacy reviews

  23. Edwardwhava表示:

    http://foruspharma.com/# medicine in mexico pharmacies

  24. CharlesDom表示:

    п»їlegitimate online pharmacies india best india pharmacy best online pharmacy india

  25. Dondob表示:

    Всем привет! Подскажите, где найти разные блоги о недвижимости? Пока нашел вот

  26. Xlrygs表示:

    atorvastatin where to buy – purchase lisinopril online cheap order nebivolol pill

  27. Domdob表示:

    Всем привет! Подскажите, где почитать разные блоги о недвижимости? Сейчас читаю блог о недвижимости

  28. Всем привет! Может кто знает, где найти полезные блоги о недвижимости? Пока нашел https://glatt-nsk.ru

  29. Всем привет! Подскажите, где почитать разные статьи о недвижимости? Сейчас читаю https://konditsioneri-shop.ru

發佈留言

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