利用Box2D+WCK賦予Flash物理特性 萬有引力
這已經是第五篇Box2D+WCK的介紹文章了,前面幾篇文章如果各位有注意應該會發現,所有範例的萬有引力都跟現在我們生活的環境一樣,物件像是被地心引力給吸引著都會往下方掉落,其實我們在使用這個模組的時候,也可以改變這樣的萬有引力,讓這些物件不要往下掉落而是往我們所指定的方向移動,馬老師在這邊大概製作了三種不同類型的萬有引力範例,分述如下:
1.容器型萬有引力:這個萬有引力是利用一個封閉的空間來繪製的。
大概的製作步驟如下:
我們可以在World元件中繪製一個如下圖的形狀:
接下來將他轉換成一個影片片段,在類別的部分輸入gravity.GravityCapsule的名稱,如下圖所示:
接下來把這個元件拖曳到World元件裡面就可以了。
2.放射狀萬有引力:這種萬有引力是以往內或往外放射狀的方式存在。
我們可以在World元件中繪製一個如下圖的形狀:
接下來將他轉換成一個影片片段,在類別的部分輸入gravity.GravityRadial的名稱,如下圖所示:
接下來把這個元件拖曳到World元件裡面就可以了。
3.正弦萬有引力:就是三角函數的sin。
我們可以在World元件中繪製一個如下圖的形狀:
接下來將他轉換成一個影片片段,在類別的部分輸入gravity.GravitySine的名稱,如下圖所示:
接下來把這個元件拖曳到World元件裡面就可以了。
同樣的也讓大家可以下載以上的三個範例檔,範例檔為CS5格式,下載後要重新設定來源路徑和元件庫路徑喔!希望這個範例對大家有所幫助,如果還有疑問,也可以在這邊回應唷~
https://halibot.com/art/le-code-promo-1xbet-bonus.html
Register with the unique 1xBet promo code “1XBUM” to take advantage of a 100% deposit match welcome offer, reaching up to €/$130. In this guide, I will walk you through the top 1xBet promotions, which feature the sportsbook deposit bonus and the casino Welcome Package for 2025. In the current landscape of numerous sports betting platforms, we consider 1xBet to be among the top choices available, and for valid reasons. The range of products offered is impressive, the site’s security measures are outstanding, and those who register using the 1xBet promo code will find additional benefits.
how can i get 1xbet promo code
darknet sites darkmarket url
мтс домашний интернет
https://hyperwrk.com/employer/inetrnet-domashnij-ekb/
мтс подключить екатеринбург
dark market onion darknet websites
Кодирование от алкоголизма в Барнауле в частной клинике «Рехаб22» – это эффективное и анонимное лечение с гарантией результата. кодировка барнаул rehab-22
darknet market darknet market links
doxycycline over the counter australia: doxycycline for sale online – buy cheap doxycycline uk
http://zithropharm.com/# zithromax 600 mg tablets
dark websites dark market
https://clmhealthpharm.com/# buying clomid without dr prescription
dark market list darkmarket list
zithromax drug: zithromax 1000 mg pills – buy cheap zithromax online
dark web market links darknet markets onion
doxycycline medication cost: DoxHealthPharm – order doxycycline 100mg
where can i buy cheap clomid price: ClmHealthPharm – where buy clomid pills
dark markets 2025 dark market list
сайт мтс екатеринбург
http://social.redemaxxi.com.br/read-blog/2752_%D0%BC%D1%82%D1%81-%D1%86%D0%B5%D0%BD%D1%8B-%D0%BD%D0%B0-%D1%83%D1%81%D0%BB%D1%83%D0%B3%D0%B8-%D1%81%D0%B2%D1%8F%D0%B7%D0%B8-%D0%B2-%D1%81%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%BE%D0%B9-%D0%BC%D0%B5%D1%81%D1%82%D0%BD%D0%BE%D1%81%D1%82%D0%B8.html
мтс екатеринбург
tor drug market darknet links
darknet site dark web market links
where can i buy cheap clomid price: can i get clomid pill – can you buy generic clomid tablets
dark markets 2025 dark web market
darknet marketplace dark markets 2025
smm panel provider http://smm-panel-cheap.com
https://zithropharm.shop/# can i buy zithromax over the counter in canada
doxycycline cost in mexico doxycycline 100mg canada doxycycline 50 mg coupon
https://doxhealthpharm.com/# cheapest doxycycline tablets
best darknet markets darkmarkets
dark websites darkmarkets
zithromax capsules price: Zithro Pharm – buy zithromax 1000mg online