Difference between revisions of "ChainShape:getNextVertex"
m |
m |
||
Line 10: | Line 10: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
+ | None. | ||
+ | === Returns === | ||
{{param|number|x|The x-component of the vertex.}} | {{param|number|x|The x-component of the vertex.}} | ||
{{param|number|y|The y-component of the vertex.}} | {{param|number|y|The y-component of the vertex.}} | ||
− | |||
− | |||
== See Also == | == See Also == |
Revision as of 21:06, 30 October 2016
Available since LÖVE 0.10.2 |
This function is not supported in earlier versions. |
Gets the vertex that establishes a connection to the next shape.
Setting next and previous ChainShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
Function
Synopsis
x, y = ChainShape:getNextVertex( )
Arguments
None.
Returns
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