*Polygon2D now updates on any modification in its point array. ShapeLine2D has now an editor.
This commit is contained in:
parent
b08312b30c
commit
0b05739a8b
4 changed files with 37 additions and 1 deletions
|
|
@ -34,6 +34,7 @@
|
|||
void ConcavePolygonShape2D::set_segments(const DVector<Vector2>& p_segments) {
|
||||
|
||||
Physics2DServer::get_singleton()->shape_set_data(get_rid(),p_segments);
|
||||
emit_changed();
|
||||
}
|
||||
|
||||
DVector<Vector2> ConcavePolygonShape2D::get_segments() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue