Expose optional "globalScaling" factor to pybullet.loadURDF and pybullet.loadSDF. This will scale the visual, collision shapes and transform locations.
Fix two_cubes.sdf (was lacking collision shape for second cube)
This commit is contained in:
@@ -194,7 +194,7 @@ void ImportUrdfSetup::initPhysics()
|
||||
}
|
||||
|
||||
|
||||
BulletURDFImporter u2b(m_guiHelper, 0);
|
||||
BulletURDFImporter u2b(m_guiHelper, 0,1);
|
||||
|
||||
|
||||
bool loadOk = u2b.loadURDF(m_fileName);
|
||||
|
||||
Reference in New Issue
Block a user