- Timestamp:
- Sep 29, 2009, 10:47:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial/src/orxonox/worldentities/Drone.cc
r5833 r5835 55 55 this->auxilaryThrust_ = 100; 56 56 this->rotationThrust_ = 10; 57 this->steering_ = Vector3::ZERO;58 57 59 58 this->setCollisionType(WorldEntity::Dynamic); … … 122 121 { 123 122 this->localLinearAcceleration_.setZ(this->localLinearAcceleration_.z() - value.x); 124 this->steering_.z = -value.x;125 123 } 126 124 … … 134 132 { 135 133 this->localLinearAcceleration_.setX(this->localLinearAcceleration_.x() + value.x); 136 this->steering_.x = value.x;137 134 } 138 135 … … 146 143 { 147 144 this->localLinearAcceleration_.setY(this->localLinearAcceleration_.y() + value.x); 148 this->steering_.y = value.x;149 145 } 150 146
Note: See TracChangeset
for help on using the changeset viewer.