SetSpritePhysicsFriction
Description
Sets the friction value to use for this sprite during physics calculations. Should be in the range 0 to 1.
Definition
SetSpritePhysicsFriction( iSpriteIndex, friction )
void agk::SetSpritePhysicsFriction( UINT iSpriteIndex, float friction )
Parameters
- iSpriteIndex - The ID of the sprite to modify.
- friction - The new friction value.