利用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...

12,075 Responses

  1. MichaelSom表示:

    can i order cheap clomid without rx: can i order clomid for sale – cheap clomid without dr prescription

  2. MichaelWence表示:

    buying generic clomid without prescription where can i get clomid tablets – how to get clomid without rx

  3. Danielnek表示:

    http://amoxil.icu/# amoxicillin 825 mg

  4. MichaelWence表示:

    how can i get cheap clomid without dr prescription buying clomid tablets – can you get cheap clomid without rx

  5. Antoniobus表示:

    https://ciprofloxacin.life/# ciprofloxacin generic price

  6. Danielnek表示:

    http://amoxil.icu/# amoxicillin 500 mg tablet price

  7. Antoniobus表示:

    https://ciprofloxacin.life/# ciprofloxacin 500 mg tablet price

  8. MichaelWence表示:

    how to get cheap clomid without insurance where buy clomid no prescription – buying cheap clomid without dr prescription

  9. Michaeltaisa表示:

    http://amoxil.icu/# amoxicillin 500mg capsules uk

  10. Vmjjhh表示:

    allergy pills for rash alternatives to allergy medication exact allergy pills

  11. megaporn表示:

    I’m not that much of a online reader to be honest but your blogs really nice, keep it up!
    I’ll go ahead and bookmark your site to come back later on. Many
    thanks

  12. indian porn表示:

    I really like your blog.. very nice colors & theme.
    Did you create this website yourself or did you
    hire someone to do it for you? Plz answer back as I’m
    looking to design my own blog and would like to find out where u got this from.
    thank you

  13. Thanks for sharing your thoughts on indian porn videos.
    Regards

  14. ggbete表示:

    Hey! Would you mind if I share your blog with my twitter group?
    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Thanks

  15. legend78表示:

    You actually make it seem so easy with your presentation but I find this topic to
    be actually something which I think I would never understand.
    It seems too complex and very broad for me. I am looking forward for your next post, I’ll try to get the hang of it!

  16. Промокод 1xbet – это специальный код,
    который позволяет получить дополнительные бонусы и привилегии при регистрации на сайте букмекерской
    конторы 1xbet. 1xbet.kz. промокод. Для использования промокода необходимо зарегистрироваться на
    сайте 1xbet, заполнив все необходимые данные в
    регистрационной форме. После этого вам будет предложено ввести
    промокод, который вы можете найти на различных партнерских сайтах или получить от других пользователей.
    Ввод промокода дает возможность получить дополнительные бонусы при первом пополнении
    счета, увеличить свои шансы на выигрыш и получить доступ к эксклюзивным акциям и предложениям от букмекерской конторы.
    Промокод 1xbet является отличным способом начать
    свою игру на сайте 1xbet с дополнительными
    преимуществами и бонусами.
    Успей воспользоваться промокодом 1xbet, чтобы получить максимальную выгоду
    от своих ставок и победить в битве с букмекером!

  17. cipit88表示:

    I was recommended this website by means of my cousin. I am no longer sure whether
    or not this publish is written by means of him as no one else recognize such distinctive about my trouble.
    You’re incredible! Thanks!

  18. I’m not sure why but this site is loading incredibly slow for me.
    Is anyone else having this problem or is it a issue
    on my end? I’ll check back later on and see if the problem still exists.

    Look into my webpage KASACKS auf MEIN-KASACK.de

  19. vivo slot表示:

    I every time emailed this blog post page to all my associates, for the
    reason that if like to read it afterward my contacts will
    too.

  20. sitemap.xml表示:

    Oh myy goodness! Awesome article dude! Thank yoou soo much, Howqever I amm encountering issuues with our
    RSS. I don’t knoww why I can’t join it. Is tnere anmybody else haaving thee sane
    RSS problems? Anone that knnows thhe answer caan you kindsly respond?
    Thanx!!

  21. sitemap.xml表示:

    I knoww thi webb site presents qulity based posts and additional material,
    is there any othr webssite wich offers these kinds of stuff in quality?

  22. sitemap表示:

    It’s ann remarkable pierce of wwriting in favor oof alll tthe webb people; they wwill
    take benefit from it I aam sure.

  23. sitemap表示:

    Helo there! Do you knjow if they maske anyy plugin tto safeguard againhst hackers?

    I’m kind paranoid abouyt losing everything I’ve worked hard on. Anyy
    recommendations?

  24. sitemap表示:

    Hi, constantgly i used to checck blkg posts here inn the early hurs inn thhe daylight, aas i like tto find
    out more andd more.

  25. sitemap.xml表示:

    Helplo mmy friend! I wish to ssay thaat tyis articpe is awesome, nice written and cime with almost all
    important infos.I woupd llike to see mre possts like this .

  26. sitemap表示:

    Ridiculius quest there. Whatt happened after?
    Thanks!

  27. sitemap.xml表示:

    Hi there everyone, it’s my first ppay a visiit aat this web page, aand article iis
    iin facxt fruitful in support of me, keep upp postinjg
    thedse typess of articles.

  28. Freddie表示:

    I blog often and I truly appreciate your content.
    Your article has truly peaked my interest. I will take a note of your website and keep checking
    for new information about once a week. I opted in for your Feed as well.

  29. sitemap.xml表示:

    Thiss is tthe right webpage foor anybbody who would like too ind
    out avout thiis topic. Youu kmow so much itts almost
    had to arfue with yoou (not that I actually wouyld
    wasnt to…HaHa). You definitely put a new spin on a
    topoic that’sbeen disscussed for many years. Wonderful stuff, jyst excellent!

發佈回覆給「MichaelSom」的留言 取消回覆

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