Skip to main content

PhysicsDoctor

8 tools in this family (folder Editor/Tools/PhysicsDoctor/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
physicsdoctor_add_missing_rigidbodieswritesBulk-add Rigidbody components to the supplied GameObjects (by full path). Use when
physicsdoctor_auto_fix_allwritesRun a full scan and execute the fix_action for every issue with auto_fixable=true. Today this
physicsdoctor_enable_default_gravitywritesRestore Physics.gravity to Unity's default (0, -9.81, 0). Use when physicsdoctor_scan reports
physicsdoctor_export_reportwritesRun a full scan and write a Markdown report to Tests/AutoPlay/PhysicsDoctor/<scene>_<timestamp>.md.
physicsdoctor_make_convexwritesBulk-flip MeshCollider.convex = true on the supplied GameObjects (by full path). Use when
physicsdoctor_scan_categoryread-onlyScan a single physics category. Faster than physicsdoctor_scan_full when you only care about
physicsdoctor_scan_fullread-onlyScan the active scene for physics setup issues across 9 categories: overlapping non-trigger
physicsdoctor_set_fixed_timestepwritesSet Time.fixedDeltaTime from a target physics frequency in Hz. 50Hz (the default) is the