Spec-Zone.ru › LÖVE

EdgeShape:setNextVertex

Available since LÖVE 0.10.2
This function is not supported in earlier versions.

Sets a vertex that establishes a connection to the next shape.

This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.

Function

Synopsis

EdgeShape:setNextVertex( x, y )

Arguments

number x
The x-component of the vertex.
number y
The y-component of the vertex.

Returns

Nothing.

See Also

  • EdgeShape
  • EdgeShape:getNextVertex
  • EdgeShape:setPreviousVertex

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/EdgeShape:setNextVertex

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API