ドキュメント

Unity Engine

Unity Engine

Impulse

Add an instant force impulse to the rigidbody2D, using its mass.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Impulse = 1

Remarks

Apply the impulse force instantly. This mode depends on the mass of rigidbody so more force must be applied to move higher-mass objects the same amount as lower-mass objects.
This mode is useful for applying forces that happen instantly, such as forces from explosions or collisions.