GetPhysicsDefaultDynamicFriction

Definition

double GetPhysicsDefaultDynamicFriction()

Description

This function returns the value of physics default dynamic friction.

Return Value

The value of physics default dynamic friction.

Example

value = 0.0

function Init()
    value  = GetPhysicsDefaultDynamicFriction()

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

function Update()

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