Click or drag to resize

ShapeComputeSubmergedArea Method

Used for the buoyancy controller

Namespace:  Internal.tainicom.Aether.Physics2D.Collision.Shapes
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public abstract float ComputeSubmergedArea(
	ref Vector2 normal,
	float offset,
	ref Transform xf,
	out Vector2 sc
)

Parameters

normal
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
offset
Type: SystemSingle
xf
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
sc
Type: Internal.tainicom.Aether.Physics2D.CommonVector2

Return Value

Type: Single
See Also