Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5002 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Aug 13, 2005, 10:14:57 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: turret react as before again :)

Location:
orxonox/trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r5000 r5002  
    121121void Player::init()
    122122{
    123 //  this->setAbsDir(0,1,0);
    124 
    125123  this->setClassID(CL_PLAYER, "Player");
    126 
    127   //  this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj", OBJ, RP_CAMPAIGN);
    128124  travelSpeed = 15.0;
    129125  velocity = new Vector();
  • orxonox/trunk/src/world_entities/weapons/turret.cc

    r5001 r5002  
    2020#include "test_bullet.h"
    2121
     22#include "null_parent.h"
    2223#include "state.h"
    2324#include "vector.h"
     
    143144    pj->setVelocity(target->getVelocity());
    144145
    145 
     146  pj->setParent(NullParent::getInstance());
    146147  pj->setAbsCoor(this->getEmissionPoint());
    147148  pj->setAbsDir(this->getAbsDir());
Note: See TracChangeset for help on using the changeset viewer.