Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2018, 12:34:31 PM (5 years ago)
Author:
ottka
Message:

new commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartFlag.cc

    r12108 r12156  
    8686    void OrxoKartFlag::init(int n, int s)
    8787    {
    88         /*model_ = new Model(this->getContext());
    89         model_->setMeshSource("OrxoKartStreckenabschnitt.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));
    9292
    93         this->attach(model_);*/
     93        this->attach(model_);
    9494
    9595        cs_ = new BoxCollisionShape(this->getContext());
     
    9898
    9999        this->attachCollisionShape(cs_);
     100
     101
    100102    }
    101103
Note: See TracChangeset for help on using the changeset viewer.