ChainShape:setNextVertex

ChainShape:setNextVertex

Available since LÖVE 0.8.0
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

ChainShape:setNextVertex( x, y )

Arguments

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

Returns

Nothing.

See Also


doc_love
2017-03-21 15:42:02
Comments
Leave a Comment

Please login to continue.