Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10209 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 2:19:25 PM (17 years ago)
Author:
bknecht
Message:

track updates

Location:
branches/playability/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/util/track/track.cc

    r10097 r10209  
    196196     {
    197197       Vector tmp = this->calcPos();
    198        Quaternion quat = Quaternion(this->calcDir(), Vector(this->curve->calcAcc(this->localTime/this->duration).x,1,this->curve->calcAcc(this->localTime/this->duration).z));
     198       //Quaternion quat = Quaternion(this->calcDir(), Vector(this->curve->calcAcc(this->localTime/this->duration).x,1,this->curve->calcAcc(this->localTime/this->duration).z));
     199       Quaternion quat = Quaternion(this->calcDir(), 0);
    199200
    200201       Vector v(0.0, 1.0, 0.0);
  • branches/playability/src/world_entities/world_entity.cc

    r10194 r10209  
    169169void WorldEntity::addTrack(const TiXmlElement* root)
    170170{
    171      
    172   this->entityTrack = new Track();
     171  // The problem we have is most likely here. The track should be constructed WITH the XML-Code
     172  this->entityTrack = new Track(root);
    173173  this->setParent(this->entityTrack->getTrackNode());
    174174  this->entityTrack->getTrackNode()->setParentMode(PNODE_ALL);
    175   LOAD_PARAM_START_CYCLE(root, element);
     175  /*LOAD_PARAM_START_CYCLE(root, element);
    176176  {
    177177    PRINTF(4)("element is: %s\n", element->Value());
    178178    Factory::fabricate(element);
    179179  }
    180   LOAD_PARAM_END_CYCLE(element);
     180  LOAD_PARAM_END_CYCLE(element);*/
    181181 
    182182
Note: See TracChangeset for help on using the changeset viewer.