Documentation

Unity Engine

Download Unity

Unity Engine

impulsePerLength

Impulse per unit length. This applies an impulse according to the shape perimeter that is facing the explosion. Explosions only apply to circles, capsules, and polygons. This may be negative for implosions. The magnitude is clamped to 100000; larger magnitudes have no useful effect because body speeds are capped each simulation step.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float impulsePerLength { readonly get; set; }