Changeset 6902 for code/branches/rocket/src/modules/weapons/projectiles
- Timestamp:
- May 15, 2010, 11:36:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
r6900 r6902 93 93 { 94 94 SUPER(SimpleRocket, tick, dt); 95 96 this->setAngularVelocity(this->getOrientation() * this->localAngularVelocity_); 97 this->setVelocity( this->getOrientation()*WorldEntity::FRONT*this->getVelocity().length() ); 98 99 if( this->bDestroy_ ) 100 this->destroy(); 101 95 102 } 96 103
Note: See TracChangeset
for help on using the changeset viewer.