Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


flowDirection

The direction of the fluid flow as a 2D rotation. Combined with _flowSpeed to produce the flow velocity vector applied as force per unit submerged area at the submerged centroid.
Read time 1 minuteLast updated 13 days ago

Definition

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