Changeset 6956 for code/branches/rocket2/src
- Timestamp:
- May 21, 2010, 1:06:59 PM (14 years ago)
- Location:
- code/branches/rocket2/src/modules/weapons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket2/src/modules/weapons/RocketController.cc
r6951 r6956 94 94 { 95 95 this->target_ = target; 96 C OUT(0)<<"got target\n";96 CCOUT(4) << "got target" << endl; 97 97 } 98 98 … … 118 118 //COUT(0)<<" "; 119 119 //COUT(0)<<coord.y; 120 this->getControllableEntity()->rotateYaw(- 0.8f*sgn(coord.x)*coord.x*coord.x);121 this->getControllableEntity()->rotatePitch( 0.8f*sgn(coord.y)*coord.y*coord.y);120 this->getControllableEntity()->rotateYaw(-sgn(coord.x)*coord.x*coord.x); 121 this->getControllableEntity()->rotatePitch(sgn(coord.y)*coord.y*coord.y); 122 122 // this->getControllableEntity()->rotateYaw(10); 123 123 // this->getControllableEntity()->rotatePitch(0); -
code/branches/rocket2/src/modules/weapons/projectiles/SimpleRocket.cc
r6951 r6956 64 64 if (GameMode::isMaster()) 65 65 { 66 this->setCollisionType(WorldEntity::Kinematic);67 this->setVelocity(0,0,100);66 this->setCollisionType(WorldEntity::Kinematic); 67 //this->setVelocity(0,0,100); 68 68 69 69 Model* model = new Model(this); -
code/branches/rocket2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r6951 r6956 49 49 this->bParallelReload_ = false; 50 50 this->damage_ = 100; 51 this->speed_ = 100;51 this->speed_ = 300; 52 52 53 53 this->setMunitionName("LaserMunition");
Note: See TracChangeset
for help on using the changeset viewer.