文档

Unity Engine

Unity Engine

flowDirection

The direction of the fluid flow as a 2D rotation. Combined with PhysicsBody.BuoyancyInput.flowSpeed to produce the flow velocity vector applied as force per unit submerged area at the submerged centroid.
阅读时间1 分钟最后更新于 23 天前

Definition

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