Changeset 12305 for code/branches/OrxoBlox_FS19/src
- Timestamp:
- Apr 18, 2019, 1:40:10 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19/src/modules/OrxoBlox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
r12294 r12305 141 141 // Attach the ball to the centerpoint and set the parameters as specified in the centerpoint, the ball is attached to. 142 142 this->center_->attach(this->ball_); 143 this->ball_->setPosition(0,0,50); 143 this->ball_->setPosition(0,0,50); //Startposition 144 144 this->ball_->setFieldDimension(this->center_->getFieldDimension()); 145 145 this->ball_->setSpeed(0); -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.cc
r12294 r12305 210 210 else // If the balls current velocity is zero, the speed is set in a random direction. 211 211 velocity.x = this->speed_ * sgn(rnd(-1,1)); 212 //velocity.y = this->speed_; 213 velocity.z = this->speed_; 212 214 213 215 this->setVelocity(velocity); -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxCenterpoint.cc
r12277 r12305 58 58 this->width_ = 200; 59 59 this->height_ = 120; 60 this->ballspeed_ = 60;60 this->ballspeed_ = 100; 61 61 this->ballaccfactor_ = 1.0; 62 62 this->batspeed_ = 60;
Note: See TracChangeset
for help on using the changeset viewer.