Click or drag to resize

BreakableBody Constructor (World, IEnumerableShape, Vector2, Single)

Initializes a new instance of the BreakableBody class

Namespace:  Internal.tainicom.Aether.Physics2D.Common.PhysicsLogic
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public BreakableBody(
	World world,
	IEnumerable<Shape> shapes,
	Vector2 position = null,
	float rotation = 0f
)

Parameters

world
Type: Internal.tainicom.Aether.Physics2D.DynamicsWorld
shapes
Type: System.Collections.GenericIEnumerableShape
position (Optional)
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
rotation (Optional)
Type: SystemSingle
See Also