- Timestamp:
- Dec 5, 2018, 12:34:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartFlag.cc
r12108 r12156 86 86 void OrxoKartFlag::init(int n, int s) 87 87 { 88 /*model_ = new Model(this->getContext());89 model_->setMeshSource("OrxoKart Streckenabschnitt.mesh");90 model_->setScale3D(Vector3(s *n*2, 1, s*n*2));91 model_->setPosition(Vector3(s*n*0.5f,- 60.0f, s*n*0.5f));88 model_ = new Model(this->getContext()); 89 model_->setMeshSource("OrxoKartMushroom.mesh"); 90 model_->setScale3D(Vector3(s, s, s)); 91 model_->setPosition(Vector3(s*n*0.5f,-0.0f, s*n*0.5f)); 92 92 93 this->attach(model_); */93 this->attach(model_); 94 94 95 95 cs_ = new BoxCollisionShape(this->getContext()); … … 98 98 99 99 this->attachCollisionShape(cs_); 100 101 100 102 } 101 103
Note: See TracChangeset
for help on using the changeset viewer.