Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


force

The wind velocity vector. Scaled by _drag when computing the per-shape aerodynamic relative velocity. Each component's magnitude is clamped to PhysicsBody.WindInput.MaxForce.
Read time 1 minuteLast updated 13 days ago

Definition

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