Method | Description | |
---|---|---|
FrictionBehaviour ( float coeff, FrictionDirection direction = FrictionDirection.Both ) : System |
Create a new friction behaviour instance.
|
|
UpdateObjectState ( |
public FrictionBehaviour ( float coeff, FrictionDirection direction = FrictionDirection.Both ) : System | ||
coeff | float | /// Friction coefficient. /// 0 = no friction. /// 1 = stop within 1 second. /// >60 = stop immediately. /// |
direction | FrictionDirection | Friction direction. |
return | System |
public UpdateObjectState ( |
||
obj | ||
return | void |