Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10529 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jan 31, 2007, 12:39:32 AM (18 years ago)
Author:
patrick
Message:

rotatoin for particle systems

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/mount_point.cc

    r10528 r10529  
    146146    {
    147147      PRINTF(0)("got particle system. attaching it to mp\n");
    148       dynamic_cast<ParticleSystem*>(this->_mount)->attachEmmittersTo(this, Vector(0,0,0), this->getRelDir());
     148      dynamic_cast<ParticleSystem*>(this->_mount)->attachEmmittersTo(this, Vector(0,0,0),
     149                                    this->getRelDir()*Quaternion(M_PI, Vector(0,1,0)));
    149150    }
    150151  }
  • trunk/src/world_entities/weapons/weapon.cc

    r10528 r10529  
    440440    if (this->requestedAction != WA_NONE)
    441441      return;
    442     PRINTF(0)("next action will be %s in %f seconds\n", actionToChar(action), this->stateDuration);
     442    PRINTF(5)("%s: next action will be %s in %f seconds\n", this->getCName(), actionToChar(action), this->stateDuration);
    443443    this->requestedAction = action;
    444444  }
Note: See TracChangeset for help on using the changeset viewer.