Table of Contents

Class TeapotCollider

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

Builds the convex hull collider of the Utah teapot, decomposed from a coarse version of the model's mesh, and shares it between every teapot of the same size.

public static class TeapotCollider
Inheritance
TeapotCollider

Methods

Create(TeapotShape)

Creates the collider of teapot.

public static ConvexHullCollider Create(Primitive3D.TeapotShape teapot)

Parameters

teapot Primitive3D.TeapotShape

Returns

ConvexHullCollider

Create(float)

Creates the collider of a teapot scaled uniformly by size.

public static ConvexHullCollider Create(float size)

Parameters

size float

Returns

ConvexHullCollider