Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 13, 2009, 11:21:40 AM (15 years ago)
Author:
rgrieder
Message:

Resolved projectile targeting problem by introducing a ClassTreeMask. It's a bit hacky but currently I don't see another quick way.
There is a problem though: The weapons aim into other directions while rolling the space ship…
I just couldn't figure it out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/steering/src/orxonox/infos/PlayerInfo.cc

    r6045 r6055  
    138138        assert(this->controller_);
    139139        this->controller_->setPlayer(this);
    140         if (this->controllableEntity_) {
     140        if (this->controllableEntity_)
     141        {
    141142            this->controller_->setControllableEntity(this->controllableEntity_);
    142143            this->controllableEntity_->setController(this->controller_);
     
    160161        this->bReadyToSpawn_ &= (!this->bSetUnreadyAfterSpawn_);
    161162
    162         if (this->controller_) {
     163        if (this->controller_)
     164        {
    163165            this->controller_->setControllableEntity(entity);
    164166            this->controllableEntity_->setController(this->controller_);
Note: See TracChangeset for help on using the changeset viewer.