Contents

bias

The distance by which the vertices are extended outwards along the direction of their normals.

Declaration

var bias: Float

Discussion

This can be used to make a mesh collider slightly larger than its visual counterpart in order to avoid z-fighting.

See Also

Configuring the mesh shape