Changeset 8264 in orxonox.OLD for branches/bsp_model/src/lib/graphics
- Timestamp:
- Jun 8, 2006, 4:19:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc
r8234 r8264 917 917 918 918 */ 919 919 920 920 float height = 10; 921 922 921 922 923 923 this->checkCollisionRayN(this->root,0.0f,1.0f, &position, &dest ); 924 924 if(this->outputFraction == 1.0f) out = dest; … … 939 939 940 940 } 941 942 941 942 943 943 944 944 // Return the normal here: Normal's stored in this->collPlane; … … 946 946 if(collision) { 947 947 PRINTF(0)("We got a collision!! Are you sure: outputFraction = %f\n", this->outputFraction); 948 worldEntity->registerCollision( worldEntity, this->parent, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out);948 worldEntity->registerCollision(this->parent, worldEntity, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out); 949 949 } 950 950 //worldEntity->collidesWithGround(out,out1,out2);
Note: See TracChangeset
for help on using the changeset viewer.