GetPhysicsDefaultStaticFriction

Definition

double GetPhysicsDefaultStaticFriction()

Description

This function returns the value of physics default static friction.

Return Value

The value of physics default static friction.

Example

value = 0.0

function Init()
    value  = GetPhysicsDefaultStaticFriction()

    message = string.format("\nDefault physics static friction is : %.2f" ,value)
    PrintConsole(message)
end

function Update()

end
First we get the value of physics default static friction. Then we display the result in the console using the PrintConsole function.
adminGetPhysicsDefaultStaticFriction