Enable multiccd by default.
PiperOrigin-RevId: 902752921 Change-Id: I8e2085ff17db0ac0db1641b8837415c458e5eca4
This commit is contained in:
committed by
Copybara-Service
parent
8e7787ad09
commit
6cb6e5a93f
@@ -704,7 +704,7 @@ void ParseUsdPhysicsScene(mjSpec* spec,
|
||||
|
||||
bool multiccd_flag;
|
||||
mjc_physics_scene.GetMultiCCDFlagAttr().Get(&multiccd_flag);
|
||||
spec->option.enableflags |= (multiccd_flag ? mjENBL_MULTICCD : 0);
|
||||
spec->option.disableflags |= (!multiccd_flag ? mjDSBL_MULTICCD : 0);
|
||||
|
||||
// Compiler attributes
|
||||
auto auto_limits_attr = mjc_physics_scene.GetAutoLimitsAttr();
|
||||
|
||||
Reference in New Issue
Block a user