ScriptEvent:setFriction

From Mod Wiki

Parameters

float linear -- Linear 'air' friuction to apply.
float angular -- Angular 'air' friction to apply.
float contact -- Contact friction to apply.

Result

None.

Supported By

idEntity

Comments

  • This is not supported for all physics types.

Functionality

Sets the linear, angular, and contact friction for the entity.