Table of Contents

Class TriangularPrismCollider

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

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

public static class TriangularPrismCollider
Inheritance
TriangularPrismCollider

Methods

Create(TriangularPrismShape)

Creates the collider of prism.

public static ConvexHullCollider Create(Primitive3D.TriangularPrismShape prism)

Parameters

prism Primitive3D.TriangularPrismShape

Returns

ConvexHullCollider

Create(Vector3)

Creates the collider of a prism whose triangle is X wide and Y tall, extruded Z.

public static ConvexHullCollider Create(Vector3 size)

Parameters

size Vector3

Returns

ConvexHullCollider