Difference between revisions of "Body:setType"

(Added Body:setType.)
 
m (Returns: Fixed lettercase)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|type=method}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Sets a new body type.
 
Sets a new body type.
  
Line 10: Line 10:
 
{{param|BodyType|type|The new type.}}
 
{{param|BodyType|type|The new type.}}
 
=== Returns ===
 
=== Returns ===
nothing.
+
Nothing.
 +
 
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]

Latest revision as of 12:13, 16 October 2016

Available since LÖVE 0.8.0
This method is not supported in earlier versions.

Sets a new body type.

Function

Synopsis

Body:setType( type )

Arguments

BodyType type
The new type.

Returns

Nothing.

See Also


Other Languages