Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 6, 2006, 1:46:54 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: modelEntity should now also be able to load momentum and movement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environments/model_entity.h

    r6988 r7048  
    2020  virtual ~ModelEntity();
    2121
     22  virtual void loadParams(const TiXmlElement* root);
     23
     24  void setSpeed(float x, float y, float z);
     25  void setMomentum (float angle, float x, float y, float z);
     26
     27  virtual void tick(float dt);
     28
     29  private:
     30    Vector*           speed;
     31    Quaternion*       momentum;
    2232};
    2333
Note: See TracChangeset for help on using the changeset viewer.