Click or drag to resize

PhysicsServerShapeCreate Method

Creates a shape of a type from PhysicsServerShapeType. Does not assign it to a body or an area. To do so, you must use AreaSetShape(RID, Int32, RID) or BodySetShape(RID, Int32, RID).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID ShapeCreate(
	PhysicsServerShapeType type
)

Parameters

type
Type: GodotPhysicsServerShapeType

[Missing <param name="type"/> documentation for "M:Godot.PhysicsServer.ShapeCreate(Godot.PhysicsServer.ShapeType)"]

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.PhysicsServer.ShapeCreate(Godot.PhysicsServer.ShapeType)"]

See Also