Click or drag to resize

CollisionObject2DShapeOwnerSetOneWayCollisionMargin Method

Sets the one_way_collision_margin of the shape owner identified by given owner_id to margin pixels.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void ShapeOwnerSetOneWayCollisionMargin(
	uint ownerId,
	float margin
)

Parameters

ownerId
Type: SystemUInt32

[Missing <param name="ownerId"/> documentation for "M:Godot.CollisionObject2D.ShapeOwnerSetOneWayCollisionMargin(System.UInt32,System.Single)"]

margin
Type: SystemSingle

[Missing <param name="margin"/> documentation for "M:Godot.CollisionObject2D.ShapeOwnerSetOneWayCollisionMargin(System.UInt32,System.Single)"]

See Also