Changeset 9996
- Timestamp:
- Mar 9, 2014, 10:34:08 PM (11 years ago)
- Location:
- code/branches/modularships
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/data/levels/emptyLevel.oxw
r9995 r9996 49 49 </MovableEntity> 50 50 51 <Pawn health=30 position="0,- 50,0" direction="0,-1,0" collisionType=dynamic mass=1000 name=box radarname = "Box 4" >51 <Pawn health=30 position="0,-100,0" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Box 4" > 52 52 <attached> 53 53 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> … … 55 55 <collisionShapes> 56 56 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 57 <BoxCollisionShape position="0,-15,0" halfExtents="15,15,15" /> 57 58 </collisionShapes> 58 59 </Pawn> -
code/branches/modularships/src/orxonox/Scene.cc
r9995 r9996 373 373 bool modified = false; 374 374 if (object0->isCollisionCallbackActive()) 375 modified |= object0->customCollidesAgainst(object1, cs 0, cp);375 modified |= object0->customCollidesAgainst(object1, cs1, cp); 376 376 if (object1->isCollisionCallbackActive()) 377 modified |= object1->customCollidesAgainst(object0, cs 1, cp);377 modified |= object1->customCollidesAgainst(object0, cs0, cp); 378 378 379 379 return modified; -
code/branches/modularships/src/orxonox/worldentities/pawns/Pawn.cc
r9995 r9996 280 280 damage *= originator->getDamageMultiplier(); 281 281 282 orxout() << "damage(): Custom collision detected on CS: " << cs << endl;282 orxout() << "damage(): Custom collision detected on " << this->getRadarName() << ", CS: " << cs << endl; 283 283 284 284 if (this->getGametype() && this->getGametype()->allowPawnDamage(this, originator))
Note: See TracChangeset
for help on using the changeset viewer.