Changeset 2463
- Timestamp:
- Dec 15, 2008, 1:52:00 AM (16 years ago)
- Location:
- code/branches/presentation/src/orxonox/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/Scene.cc
r2459 r2463 249 249 { 250 250 this->physicalWorld_->addRigidBody((*it)->getPhysicalBody()); 251 this->physicalObjects_.insert(*it); 251 252 } 252 253 this->physicalObjectQueue_.clear(); -
code/branches/presentation/src/orxonox/objects/collisionshapes/CompoundCollisionShape.cc
r2459 r2463 151 151 } 152 152 if (bEmpty) 153 { 154 if (this->collisionShape_ == 0) 155 { 156 this->collisionShape_ = 0; 157 return; 158 } 153 159 this->collisionShape_ = 0; 160 } 154 161 else if (bPrimitive) 155 162 { -
code/branches/presentation/src/orxonox/objects/worldentities/pawns/SpaceShip.cc
r2459 r2463 141 141 void SpaceShip::rotateYaw(const Vector2& value) 142 142 { 143 this->localAngularAcceleration_.setY(this->local LinearAcceleration_.y() + value.x);143 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() + value.x); 144 144 } 145 145 146 146 void SpaceShip::rotatePitch(const Vector2& value) 147 147 { 148 this->localAngularAcceleration_.setX(this->local LinearAcceleration_.x() + value.x);148 this->localAngularAcceleration_.setX(this->localAngularAcceleration_.x() + value.x); 149 149 } 150 150 151 151 void SpaceShip::rotateRoll(const Vector2& value) 152 152 { 153 this->localAngularAcceleration_.setZ(this->local LinearAcceleration_.z() - value.x);153 this->localAngularAcceleration_.setZ(this->localAngularAcceleration_.z() - value.x); 154 154 } 155 155
Note: See TracChangeset
for help on using the changeset viewer.