Click or drag to resize

Physics2DDirectBodyStateGetContactLocalNormal Method

Returns the local normal at the contact point.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 GetContactLocalNormal(
	int contactIdx
)

Parameters

contactIdx
Type: SystemInt32

[Missing <param name="contactIdx"/> documentation for "M:Godot.Physics2DDirectBodyState.GetContactLocalNormal(System.Int32)"]

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.Physics2DDirectBodyState.GetContactLocalNormal(System.Int32)"]

See Also