Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9126 in orxonox.OLD for branches/presentation/src/world_entities


Ignore:
Timestamp:
Jul 4, 2006, 2:23:01 PM (18 years ago)
Author:
patrick
Message:

different collision reactions for npcs and full walk ability

Location:
branches/presentation/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9123 r9126  
    150150  registerVar( new SynchronizeableFloat( &heading, &heading, "heading", PERMISSION_OWNER ) );
    151151  registerVar( new SynchronizeableFloat( &attitude, &attitude, "attitude", PERMISSION_OWNER ) );
     152
     153    //subscribe to collision reaction
     154  this->subscribeReaction(CREngine::CR_PHYSICS_FULL_WALK, CL_BSP_ENTITY);
    152155}
    153156
  • branches/presentation/src/world_entities/playable.cc

    r9110 r9126  
    6767  this->bDead = false;
    6868
    69   //subscribe to collision reaction
    70   this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY);
    7169
    7270  registerVar( new SynchronizeableInt( &score, &score, "score" ) );
Note: See TracChangeset for help on using the changeset viewer.