Difference between revisions of "RevoluteJoint:setLimitsEnabled"

 
(Updated for 0.9.0)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
+
{{newin|[[0.9.0]]|090|type=method|text=It has been renamed from [[RevoluteJoint:enableLimits]]}}
 +
Enables/disables the joint limit.
  
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
enable = RevoluteJoint:setLimitsEnabled( )
+
RevoluteJoint:setLimitsEnabled( enable )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
None.
+
{{param|boolean|enable|True to enable, false to disable.}}
 
=== Returns ===
 
=== Returns ===
{{param|boolean|enable|True if enabled, false if disabled.}}
+
Nothing.
 +
 
 
== See Also ==
 
== See Also ==
 
* [[parent::RevoluteJoint]]
 
* [[parent::RevoluteJoint]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Enables/disables the joint limit.}}
 +
== Other Languages ==
 +
{{i18n|RevoluteJoint:setLimitsEnabled}}

Latest revision as of 01:43, 23 June 2014

Available since LÖVE 0.9.0
It has been renamed from RevoluteJoint:enableLimits.

Enables/disables the joint limit.

Function

Synopsis

RevoluteJoint:setLimitsEnabled( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also

Other Languages