Difference between revisions of "PrismaticJoint:enableLimit"

(Added PrismaticJoint:enableLimit.)
 
m (See issue 691)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=method}}
+
{{newin|[[0.8.0]]|080|type=function}}
 +
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[PrismaticJoint:setLimitsEnabled]]}}
 
Enables or disables the limits of the joint.
 
Enables or disables the limits of the joint.
  
Line 5: Line 6:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
enable = PrismaticJoint:enableLimit( )
+
PrismaticJoint:enableLimit( 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 ==

Latest revision as of 06:07, 20 August 2014

Available since LÖVE 0.8.0
This function is not supported in earlier versions.
Removed in LÖVE 0.9.0
It has been renamed to PrismaticJoint:setLimitsEnabled.

Enables or disables the limits of the joint.

Function

Synopsis

PrismaticJoint:enableLimit( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages