Table of Contents

Class ConeCollider

Namespace
Stride.CommunityToolkit.Bepu
Assembly
Stride.CommunityToolkit.Bepu.dll

Builds the convex hull collider of a cone, decomposed from the same mesh the model is built from, and shares it between every cone of the same dimensions.

public static class ConeCollider
Inheritance
ConeCollider

Methods

Create(ConeShape)

Creates the collider of cone.

public static ConvexHullCollider Create(Primitive3D.ConeShape cone)

Parameters

cone Primitive3D.ConeShape

Returns

ConvexHullCollider

Create(float, float)

Creates the collider of a cone with the given base radius and height.

public static ConvexHullCollider Create(float radius, float height)

Parameters

radius float
height float

Returns

ConvexHullCollider