Enable 'show physics visualization' in the Game Menu. Should help to locate problems with collision detection/physics (also useful when baking, and/or using the new rigidbody constraints).

This commit is contained in:
2006-12-20 06:43:43 +00:00
parent 427e306196
commit 1852d1a410
4 changed files with 18 additions and 0 deletions

View File

@@ -381,6 +381,9 @@ void space_set_commmandline_options(void) {
|| (G.vd->drawtype == OB_SOLID) );
SYS_WriteCommandLineInt(syshandle, "show_properties", a);
}
a= (G.fileflags & G_FILE_SHOW_PHYSICS);
SYS_WriteCommandLineInt(syshandle, "show_physics", a);
a= (G.fileflags & G_FILE_ENABLE_ALL_FRAMES);
SYS_WriteCommandLineInt(syshandle, "fixedtime", a);