SetPhysicsDefaultRestitution

Definition

SetPhysicsDefaultRestitution(float restitution)

Description

This function sets the physics default restitution to restitution.

Parameter

restitution
Specifies the value of physics default restitution to be set. This value must be in the range [0.0,1.0]

Example

function Init()
    SetPhysicsDefaultRestitution(0.8)
end

function Update()

end
This scripts sets the physics default restitution to 0.8.
adminSetPhysicsDefaultRestitution