Documentation

Unity Engine

Download Unity

Unity Engine

surfacePosition

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

Definition

public Vector2 surfacePosition { readonly get; set; }