Changeset 2391 for code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/BillboardProjectile.cc
- Timestamp:
- Dec 10, 2008, 5:30:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/BillboardProjectile.cc
r2367 r2391 45 45 assert(this->getScene()->getSceneManager()); // getScene() was already checked by WorldEntity 46 46 47 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), "Examples/Flare", ColourValue( 1.0, 1.0, 0.5), 1);48 //this->attachObject(this->billboard_.getBillboardSet());49 this->scale(0. 5);47 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), "Examples/Flare", ColourValue(0.5, 0.5, 0.7, 0.8), 1); 48 this->getNode()->attachObject(this->billboard_.getBillboardSet()); 49 this->scale(0.2); 50 50 } 51 51
Note: See TracChangeset
for help on using the changeset viewer.