-Add support for one-way collision in 2D (only works for kinematic body so far)
-Solve drawing order bug introduced in previous commit: solves #1214
This commit is contained in:
parent
a327eee762
commit
9012cd408e
14 changed files with 827 additions and 43 deletions
|
|
@ -392,7 +392,7 @@ class VisualServerRaster : public VisualServer {
|
|||
|
||||
CanvasItem() {
|
||||
E=NULL;
|
||||
z=CANVAS_ITEM_Z_MAX/2;
|
||||
z=0;
|
||||
opacity=1;
|
||||
self_opacity=1;
|
||||
sort_y=false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue