Click or drag to resize

Physics2DContactTestItem Constructor (Capsule2, Int32, Physics2DCategories, Physics2DCategories, Int32, Physics2DContactTestItemModeEnum)

Initializes a new instance of the Physics2DContactTestItem class

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public Physics2DContactTestItem(
	Capsule2 capsule,
	int edges = 32,
	Physics2DCategories collisionCategories = Physics2DCategories.Category1,
	Physics2DCategories collidesWith = Physics2DCategories.All,
	int collisionGroup = 0,
	Physics2DContactTestItemModeEnum mode = Physics2DContactTestItemModeEnum.All
)

Parameters

capsule
Type: NeoAxisCapsule2
edges (Optional)
Type: SystemInt32
collisionCategories (Optional)
Type: NeoAxisPhysics2DCategories
collidesWith (Optional)
Type: NeoAxisPhysics2DCategories
collisionGroup (Optional)
Type: SystemInt32
mode (Optional)
Type: NeoAxisPhysics2DContactTestItemModeEnum
See Also