Class TriangularPrismCollider
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
Returns
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
sizeVector3