Click or drag to resize

WorldCreateCompoundPolygon Method

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Body CreateCompoundPolygon(
	List<Vertices> list,
	float density,
	Vector2 position = null,
	float rotation = 0f,
	BodyType bodyType = BodyType.Static
)

Parameters

list
Type: System.Collections.GenericListVertices
density
Type: SystemSingle
position (Optional)
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
rotation (Optional)
Type: SystemSingle
bodyType (Optional)
Type: Internal.tainicom.Aether.Physics2D.DynamicsBodyType

Return Value

Type: Body
See Also