- Timestamp:
- Dec 4, 2005, 3:23:08 PM (19 years ago)
- Location:
- branches/spaceshipcontrol/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/lib/coord/p_node.cc
r5910 r5914 428 428 429 429 this->bias = bias; 430 this->bRelDirChanged = true; 430 431 } 431 432 -
branches/spaceshipcontrol/src/world_entities/weapons/ground_turret.cc
r5819 r5914 145 145 void GroundTurret::collidesWith (WorldEntity* entity, const Vector& location) 146 146 { 147 147 if (entity->isA(CL_PROJECTILE)) 148 this->setAbsDirSoft(Quaternion(-90, Vector(0,0,1)), 90); 148 149 } 149 150 -
branches/spaceshipcontrol/src/world_entities/weapons/guided_missile.cc
r5913 r5914 48 48 this->energyMin = 1; 49 49 this->energyMax = 10; 50 this->lifeSpan = 5 ;51 this->agility = 20;50 this->lifeSpan = 5.0; 51 this->agility = 5.0; 52 52 this->maxVelocity = 100; 53 53 … … 151 151 void GuidedMissile::tick (float time) 152 152 { 153 printf("test\n");154 153 //Vector v = *this->flightDirection * ( this->speed * time * 1000 + 0.1); 155 154 if (target != NULL && target->getParent() != NullParent::getInstance())
Note: See TracChangeset
for help on using the changeset viewer.