上級 15344 タグ追加 保存
動画の字幕をクリックしてすぐ単語の意味を調べられます!
単語帳読み込み中…
字幕の修正報告
Physic Materials are materials that instead
of effecting the appearance of a game object
they effect the way that the object reacts
to the physics engine. Consider the difference
between how a basketball and a bowling ball
might bounce. Whilst there is a difference
in their mass, their surfaces are also
very different and they react to other
surfaces very differently. Physic materials
can be created from the Create button
on the project panel.
And they're edited in the inspector to
control how the surface reacts to another
surface. They do this by controlling friction.
Dynamic Friction is how much friction
exists whilst the object is moving
and Static Friction is how much
force is required in order to move the
object from a static position.
Bounciness does exactly what it sounds like.
It controls how bouncy the object is.
And the Friction Combine settings control
how they respond to another object
with a certain material. Friction Direction
will allow you to control friction
in a particular axis and the dynamic
and static friction 2 properties
will give you control over those three axes.
In this example we've applied this
particular physic material to our power cube
and our work bench.
The physic material is applied to the
collider in any given game object
and you can see that there's a slot for
material within the collider settings.
You can see that if I press play,
it bounces slightly and is also very slippery.
This is because I've used 0 for dynamic
and static friction, meaning there's nothing
stopping it from slipping around and
I've also made it slightly bouncy.
If I make it very bouncy
then it's going to bounce off of the table.
And for example if I wanted to restrict
it's movement in a particular axis
so I can see that the X axis is the direction
in which it's sliding, so what I could do
is go back to that material and I'll set
my friction direction of X to 1 and
increase the dynamic friction. I'm going to turn
bounciness back down to a lower number
so that it doesn't bounce off the table.
And you can see that it's slowing to a halt
because of the amount of friction involved there.
So we could make that slightly lower
and you can see it begins to slide.
So hopefully you can see that with
physic materials you can completely control
the surface of an object
and how it responds to others.
コツ:単語をクリックしてすぐ意味を調べられます!

読み込み中…

Physic Materials - Unity Official Tutorials

15344 タグ追加 保存
Li-Ying Lin 2015 年 8 月 10 日 に公開
お勧め動画

コメント

読み込み中…
  1. 1. クリック一つで単語を検索

    右側のスプリクトの単語をクリックするだけで即座に意味が検索できます。

  2. 2. リピート機能

    クリックするだけで同じフレーズを何回もリピート可能!

  3. 3. ショートカット

    キーボードショートカットを使うことによって勉強の効率を上げることが出来ます。

  4. 4. 字幕の表示/非表示

    日・英のボタンをクリックすることで自由に字幕のオンオフを切り替えられます。

  5. 5. 動画をブログ等でシェア

    コードを貼り付けてVoiceTubeの動画再生プレーヤーをブログ等でシェアすることが出来ます!

  6. 6. 全画面再生

    左側の矢印をクリックすることで全画面で再生できるようになります。

  1. クイズ付き動画

    リスニングクイズに挑戦!

  1. クリックしてメモを表示

  1. UrbanDictionary 俚語字典整合查詢。一般字典查詢不到你滿意的解譯,不妨使用「俚語字典」,或許會讓你有滿意的答案喔