Click or drag to resize

CollisionObject2DShapeOwnerSetOneWayCollision Method

If enable is true, collisions for the shape owner originating from this CollisionObject2D will not be reported to collided with CollisionObject2Ds.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void ShapeOwnerSetOneWayCollision(
	uint ownerId,
	bool enable
)

Parameters

ownerId
Type: SystemUInt32

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

enable
Type: SystemBoolean

[Missing <param name="enable"/> documentation for "M:Godot.CollisionObject2D.ShapeOwnerSetOneWayCollision(System.UInt32,System.Boolean)"]

See Also