diff --git a/Levels/ObjectSetups/Compositions.xml b/Levels/ObjectSetups/Compositions.xml index 21e0804..061c788 100644 --- a/Levels/ObjectSetups/Compositions.xml +++ b/Levels/ObjectSetups/Compositions.xml @@ -355,7 +355,7 @@ - + marbleSmooth.obj Marbletexture.png @@ -364,7 +364,7 @@ 0.5 3.0 Player - 1 + 1.0 0.15 0.7 diff --git a/level.cc b/level.cc index a5c8a41..60d1967 100644 --- a/level.cc +++ b/level.cc @@ -267,6 +267,7 @@ void Level::load() { if (physicType.compare("Player") == 0){ float radius; errorCheck(objectData->FirstChildElement("radius")->QueryFloatText(&radius)); + radius *= objectScale*compScale; this->physics.addPlayer(friction, radius, *object, mass, dampningL, dampningA, physicObjects.size()); }else if (physicType.compare("Box") == 0){ float width, height, length;