Difference between revisions of "DistanceJoint:setDampingRatio"

(add note saying this too may not be available)
m (removed spam. (Undo revision 24816 by Nikhiltoky (talk)))
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[DistanceJoint:setDamping]]}}
 +
 
Sets the damping ratio.
 
Sets the damping ratio.
  
N.B. This function is not available in some versions of LÖVE. You may get an error if you try to use it.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 11: Line 12:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::DistanceJoint]]
 
* [[parent::DistanceJoint]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the damping ratio.}}
 
{{#set:Description=Sets the damping ratio.}}
 +
{{#set:Since=080}}
 +
== Other Languages ==
 +
{{i18n|DistanceJoint:setDampingRatio}}

Latest revision as of 03:33, 12 January 2020

Available since LÖVE 0.8.0
It has been renamed from DistanceJoint:setDamping.


Sets the damping ratio.

Function

Synopsis

DistanceJoint:setDampingRatio( ratio )

Arguments

number ratio
The damping ratio.

Returns

Nothing.

See Also


Other Languages