Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7069 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Feb 7, 2006, 2:04:57 PM (19 years ago)
Author:
patrick
Message:

trunk: md2 models now collide also

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/creatures/md2_creature.cc

    r7057 r7069  
    6464
    6565  this->loadParams(doc.RootElement());
     66  this->toList(OM_GROUP_03);
    6667}
    6768
     
    224225void MD2Creature::collidesWith(WorldEntity* entity, const Vector& location)
    225226{
    226 
     227  PRINTF(0)("Collided with the md2 model\n");
     228  //entity->die();
    227229}
    228230
  • trunk/src/world_entities/test_entity.h

    r6512 r7069  
    2626  void setAnim(int animationIndex);
    2727
     28  void dieHard();
     29
    2830  virtual void tick (float time);
    2931  virtual void collidesWith(WorldEntity* entity, const Vector& location);
Note: See TracChangeset for help on using the changeset viewer.