Skip to content

Commit

Permalink
[hot fix] Changed SSL Robot object from box to cylinder
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeMartins96 committed Feb 4, 2021
1 parent 83f3a33 commit d05863e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sslrobot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d05863e

Please sign in to comment.