Class ConeCollider
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
conePrimitive3D.ConeShape
Returns
Create(float, float)
Creates the collider of a cone with the given base radius and height.
public static ConvexHullCollider Create(float radius, float height)