Skip to content

format

typescript
MeshCollider.convex

class: MeshCollider

description

Whether the mesh collider is considered a convex collider.

A convex collider is a type of collider shape that has no indentations or holes on its surface, making collision detection more efficient.

parameter

param_nametypedescription

reture

typedescription
booleanWhether to use a convex collider

code example