Click or drag to resize

PhysicsServerBodySetCollisionLayer Method

Sets the physics layer or layers a body belongs to.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void BodySetCollisionLayer(
	RID body,
	uint layer
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.PhysicsServer.BodySetCollisionLayer(Godot.RID,System.UInt32)"]

layer
Type: SystemUInt32

[Missing <param name="layer"/> documentation for "M:Godot.PhysicsServer.BodySetCollisionLayer(Godot.RID,System.UInt32)"]

See Also