LoginSignup
0
0

More than 5 years have passed since last update.

unityには4つのフォースがあります。

・Force
・Acceleration
・Impulse
・VelocityChange

オブジェクトは連続の動きを作りたい時にForceとAccelerationのタイプ使ってほうが良いです。
例えば:車の運転やロケットの燃焼や重力の十分な引っ張りなどの動きです。

突然動きを変更するのオブジェクトを作りたい時にImpulseとVelocityChangeを作りたいほうが良いです。
例えば:弾丸を発射する、爆発から回復する、または障壁を跳ね返すなど動きです。

kg :オブジェクトの体重です。
m/s : メーター/秒

・Force
 - その質量に基づいて、1つの時間ステップでオブジェクトを加速する。
 - kg * m/s^2
・Acceleration
 - その質量を無視して、1つのタイムステップでオブジェクトを加速する。 (重力のような)
 - m/s^2
・Impulse
 - 物体をその質量に基づいて瞬時に推進させる
 - kg * m/s
・VelocityChange
 - 物体を瞬時に推進し、質量を無視する
 - m/s

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0