Click or drag to resize

BodyCreateFixture Method

Creates a fixture and attach it to this body. If the density is non-zero, this function automatically updates the mass of the body. Contacts are not created until the next time step. Warning: This method is locked during callbacks.

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 Fixture CreateFixture(
	Shape shape
)

Parameters

shape
Type: Internal.tainicom.Aether.Physics2D.Collision.ShapesShape
The shape.

Return Value

Type: Fixture
See Also