Changeset 8852 in orxonox.OLD for branches/single_player_map/src
- Timestamp:
- Jun 28, 2006, 2:31:15 PM (18 years ago)
- Location:
- branches/single_player_map/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8847 r8852 66 66 // collision->getEntityB()->getAbsCoor().debug(); 67 67 68 Vectorheight;68 float height; 69 69 AABB* box = collision->getEntityB()->getModelAABB(); 70 70 WorldEntity* entity = collision->getEntityB(); 71 /* 71 72 72 float CR_MAX_WALK_HEIGHT = 2.0f; 73 73 … … 88 88 89 89 90 } */90 } 91 91 92 92 … … 94 94 95 95 96 //#if 096 #if 0 97 97 if( box != NULL) 98 98 height = ( ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() )*(-1.0f) ; … … 151 151 152 152 }// if(box!= NULL) 153 //#endif153 #endif 154 154 /* 155 155 PRINTF(0)("Collision with Ground: \n"); -
branches/single_player_map/src/story_entities/game_world.cc
r8740 r8852 308 308 /* update the state */ 309 309 //this->update (); /// LESS REDUNDANCY. 310 PNode::getNullParent()->updateNode(this->dtS);310 // PNode::getNullParent()->updateNode(this->dtS); 311 311 312 312 -
branches/single_player_map/src/world_entities/world_entity.h
r8777 r8852 88 88 89 89 bool registerCollision(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB); 90 bool registerCollision(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position );90 bool registerCollision(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position, bool bInWall = false); 91 91 /** @return true if there is at least on collision reaction subscribed */ 92 92 inline bool isReactive() const { return this->bReactive; }
Note: See TracChangeset
for help on using the changeset viewer.