From d05863e80b00b5aed912f82b6a634fe3d25d1458 Mon Sep 17 00:00:00 2001 From: Felipe Date: Wed, 3 Feb 2021 22:25:22 -0300 Subject: [PATCH] [hot fix] Changed SSL Robot object from box to cylinder --- src/sslrobot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sslrobot.cpp b/src/sslrobot.cpp index bef494c..8f40dcc 100644 --- a/src/sslrobot.cpp +++ b/src/sslrobot.cpp @@ -233,7 +233,7 @@ SSLRobot::SSLRobot(PWorld *world, PBall *ball, dReal x, dReal y, dReal z, this->space = physics->space; - this->chassis = new PBox(this->_x, this->_y, this->_z, SSLConfig::Robot().getRadius() * 2, SSLConfig::Robot().getRadius() * 2, SSLConfig::Robot().getHeight(), SSLConfig::Robot().getBodyMass() * 0.99f); + this->chassis = new PCylinder(this->_x, this->_y, this->_z, SSLConfig::Robot().getRadius(), SSLConfig::Robot().getHeight(), SSLConfig::Robot().getBodyMass() * 0.99f); this->chassis->space = this->space; this->physics->addObject(chassis);