Click or drag to resize

WorldCreateBody 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 virtual Body CreateBody(
	Vector2 position = null,
	float rotation = 0f,
	BodyType bodyType = BodyType.Static
)

Parameters

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