Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


surfacePosition

A point in world space lying on the fluid surface. Together with _surfaceNormal this defines the infinite plane of the fluid.
Read time 1 minuteLast updated 12 days ago

Definition

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