Enable 2D physics motion fix for new projects
This commit is contained in:
parent
171d8a501f
commit
e19d517c21
1 changed files with 4 additions and 0 deletions
|
@ -206,6 +206,10 @@ private:
|
||||||
f->store_line("\n");
|
f->store_line("\n");
|
||||||
f->store_line("name=\"" + project_name->get_text() + "\"");
|
f->store_line("name=\"" + project_name->get_text() + "\"");
|
||||||
f->store_line("icon=\"res://icon.png\"");
|
f->store_line("icon=\"res://icon.png\"");
|
||||||
|
f->store_line("\n");
|
||||||
|
f->store_line("[physics_2d]");
|
||||||
|
f->store_line("\n");
|
||||||
|
f->store_line("motion_fix_enabled=true");
|
||||||
|
|
||||||
memdelete(f);
|
memdelete(f);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue