HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Box2D.SurfaceMaterial Struct Reference

Surface materials allow chain shapes to have per segment surface properties. More...

Public Member Functions

 SurfaceMaterial ()
 Construct a surface material with the default values.
 

Public Attributes

float Friction
 The Coulomb (dry) friction coefficient, usually in the range [0,1].
 
float Restitution
 The coefficient of restitution (bounce) usually in the range [0,1].
https://en.wikipedia.org/wiki/Coefficient_of_restitution.
 
float RollingResistance
 The rolling resistance usually in the range [0,1].
 
float TangentSpeed
 The tangent speed for conveyor belts.
 
int UserMaterialId
 User material identifier. This is passed with query results and to friction and restitution combining functions. It is not used internally.
 
HexColor CustomColor
 Custom debug draw color.
 

Detailed Description

Surface materials allow chain shapes to have per segment surface properties.


The documentation for this struct was generated from the following file: