Difference between revisions of "ChainShape:setPrevVertex"
(Added ChainShape:setPrevVertex.) |
m (Added oldin) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.8.0]]|080|type= | + | {{newin|[[0.8.0]]|080|type=function}} |
+ | {{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[ChainShape:setPreviousVertex]]}} | ||
Sets a vertex that establishes a connection to the previous shape. | Sets a vertex that establishes a connection to the previous shape. | ||
Line 11: | Line 12: | ||
=== Arguments === | === Arguments === | ||
{{param|number|x|The x-component of the vertex.}} | {{param|number|x|The x-component of the vertex.}} | ||
− | {{param|number| | + | {{param|number|y|The y-component of the vertex.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Latest revision as of 00:34, 23 October 2013
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 ChainShape:setPreviousVertex. |
Sets a vertex that establishes a connection to the previous shape.
This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
Function
Synopsis
ChainShape:setPrevVertex( x, y )
Arguments
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info