-new collision layer & mask system for 2D, for more flexible collision masking

This commit is contained in:
Juan Linietsky
2015-05-03 16:47:21 -03:00
parent 5f2aac4bbe
commit af06843982
18 changed files with 147 additions and 32 deletions

View File

@ -226,7 +226,7 @@ CollisionObject2DSW::CollisionObject2DSW(Type p_type) {
type=p_type;
space=NULL;
instance_id=0;
user_mask=0;
collision_mask=1;
layer_mask=1;
pickable=true;
}