{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[DistanceJoint:setDamping]]}}

Sets the damping ratio.

== Function ==
=== Synopsis ===
<source lang="lua">
DistanceJoint:setDampingRatio( ratio )
</source>
=== Arguments ===
{{param|number|ratio|The damping ratio.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::DistanceJoint]]
[[Category:Functions]]
{{#set:Description=Sets the damping ratio.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|DistanceJoint:setDampingRatio}}