Class TeapotCollider
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
teapotPrimitive3D.TeapotShape
Returns
Create(float)
Creates the collider of a teapot scaled uniformly by size.
public static ConvexHullCollider Create(float size)
Parameters
sizefloat