- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
r6949 r6905 81 81 this->setCollisionType(Kinematic); 82 82 83 // TODO: fix the orientation and size of this collision shape to match the rocket84 83 ConeCollisionShape* collisionShape = new ConeCollisionShape(this); 85 84 collisionShape->setRadius(3); 86 collisionShape->setHeight(5 );85 collisionShape->setHeight(500); 87 86 this->attachCollisionShape(collisionShape); 88 87 … … 97 96 this->setAngularVelocity(this->getOrientation() * this->localAngularVelocity_); 98 97 this->setVelocity( this->getOrientation()*WorldEntity::FRONT*this->getVelocity().length() ); 99 this->localAngularVelocity_ = 0;100 98 101 99 if( this->bDestroy_ )
Note: See TracChangeset
for help on using the changeset viewer.