Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 3, 2011, 5:42:19 PM (14 years ago)
Author:
dafrick
Message:

Cleaning up in SpaceShip and Engine. Fixed several bugs.
Kicked localLinearAcceleration, primaryThrust and auxiliaryThrust out of the SpaceShip, since it wasn't used anymore.
Moved the trail lights back a bit.
Added some documentation to SpaceShip and Engine.
SpeedPickup is working again, will need some further tuning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/worldentities/MobileEntity.cc

    r8706 r8727  
    3434#include "core/CoreIncludes.h"
    3535#include "core/XMLPort.h"
     36
    3637#include "Scene.h"
    3738
     
    147148        }
    148149
    149         // If not bullet-managed (deprecated? SpaceShip doesn't use this anymore for movement)
     150        // If not bullet-managed (deprecated? SpaceShip doesn't use this anymore for movement) TODO: Find out!
    150151        this->linearAcceleration_ = acceleration;
    151152    }
    152153
     154    /**
     155    @brief
     156        Adds the input acceleration at the input position to the MobileEntity.
     157    @param acceleration
     158        The acceleration to be additionally applied to the MobileEntity.
     159    @param relativePosition
     160        The position relative to the MobileEntity at which the acceleration is applied.
     161    */
    153162    void MobileEntity::addAcceleration(const Vector3 &acceleration, const Vector3 &relativePosition)
    154163    {
Note: See TracChangeset for help on using the changeset viewer.