Méthode | 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. |
Résultat | System |
public UpdateObjectState ( |
||
obj | ||
Résultat | void |