Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2018, 4:40:29 PM (5 years ago)
Author:
emustafa
Message:

still on controlls

Location:
code/branches/OrxoKart_HS18/src/modules/orxokart
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoKart_HS18/src/modules/orxokart/KartController.h

    r12147 r12168  
    3434
    3535#include "OrxoKartPrereqs.h"
    36 
    3736#include "controllers/HumanController.h"
    3837
  • code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKart.cc

    r12156 r12168  
    163163        }
    164164        else {
    165             orxout() << " Should not happen, look in OrxoKart.cc";
     165            //orxout() << " Should not happen, look in OrxoKart.cc";
    166166        }
    167167
    168168
    169169
    170                 orxout() << numberOfShrooms << endl;
     170                //orxout() << numberOfShrooms << endl;
    171171
    172172
    173173        // Check if ship collided with the flag, flag is the bottom that is responsible for the game to detect the spaceship falling.
    174174        if(flag_->getCollided()){
    175                 orxout() << numberOfShrooms << endl;
     175                //orxout() << numberOfShrooms << endl;
    176176            player = flag_->getObjectofCollision();
    177177            if (level == 1)
     
    187187
    188188        if (player && player->isBoosting()) {
    189                 orxout() << "Boosting" << endl;
     189                //orxout() << "Boosting" << endl;
    190190                if(!numberOfShrooms) numberOfShrooms--;
    191191        }
  • code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartKart.cc

    r12147 r12168  
    3333#include "core/CoreIncludes.h"
    3434#include "core/XMLPort.h"
    35 #include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h>
    36 #include "controllers/HumanController.h"
    37 
     35#include "KartController.h"
    3836namespace orxonox
    3937{
    4038    RegisterClass(OrxoKartKart);
    4139
     40    void ControllableEntity::rotateYaw(const Vector2& value)
     41    {
     42        orxout() << "TEST CONTROLlER" << endl;
     43    }
     44
    4245    OrxoKartKart::OrxoKartKart(Context* context) : SpaceShip(context)
    4346    {
    44 
    4547        RegisterObject(OrxoKartKart);
    46         enableCollisionCallback();
    4748    }
    4849
     
    6667    void OrxoKartKart::rotateYaw(const Vector2& value)
    6768        {
     69           
    6870            this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() - value.x); 
    6971        }
Note: See TracChangeset for help on using the changeset viewer.