Table of Contents

Struct b3SurfaceMaterial

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

Surface properties, supported per triangle on meshes and height fields. Mirror of b3SurfaceMaterial.

public struct b3SurfaceMaterial

Inherited Members

Fields

customColor

A custom debug draw colour, ignored when zero.

friction

The Coulomb friction coefficient, usually in the range zero to one.

padding

Explicit padding. Must be zero.

restitution

The coefficient of restitution, usually in the range zero to one.

rollingResistance

The rolling resistance, usually in the range zero to one. Applies to spheres and capsules only.

tangentVelocity

The tangent velocity for conveyor belts, in shape-local space.

userMaterialId

An application-defined material identifier.