csharp
public readonly record struct BuoyancyForceWhat one pontoon does to the body this step.
Fields and properties (5)
public Vector3 ForceThe force, in newtons, in world space.
public Vector3 PositionWhere it applies, in world space — which is what makes a body pitch.
public float SubmergedHow much of the sphere is under the surface, 0…1.
public float SurfaceHeightWhere the surface was over the pontoon, in world units.
public static BuoyancyForce NoneA pontoon in the air.
Methods (1)
Used by (5)
- BuoyancyVixen.Water
- BuoyancyDebugDrawVixen.Water.Physics
- BuoyancySystemVixen.Water.Physics
- BuoyancySystemTestsVixen.Water.Physics.Tests
- BuoyancyTestsVixen.Water.Tests