利用Box2D+WCK賦予Flash物理特性 浮力與波浪

在前面連接器的文章之後,繼續為大家介紹浮力與波浪這種物理原理的產生方式,大家可以先看下面的範例:

Buoyancy

這個範例製作上非常簡單,底下的海浪就只是一個矩形,在轉影片片段時的基底類別是wck.Buoyancy。

Buoyancy Setup

接下來就像之前的文章一樣,再進行組件定義之後就可以在屬性面板上面針對波浪幅度…等來做設定了,同樣讓大家可以下載本範例的原始檔來研究,使用的方法和前幾篇文章相同就不多說了,希望這個範例對大家有所幫助,如果還有疑問,也可以在這邊回應唷~

You may also like...

18,761 Responses

  1. Flight Centre Journey Group Americas totally-owned subsidiary of Flight Centre Journey Group in Australia, which is traded on the Australian Inventory Trade.

  2. 200 million of the CARES Act to efficiency venues or related companies impacted by COVID-19.

  3. Tourism is a large contributor to the economy, as town receives over 5 million guests per yr.

  4. Jennings, Louisiana is house to some of the most unique and unconventional dwelling spaces on the planet.

發佈留言

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