Changeset 2855 for code/trunk/src/orxonox/objects/worldentities
- Timestamp:
- Mar 26, 2009, 4:39:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/worldentities/WorldEntity.cc
r2851 r2855 660 660 case TransformSpace::World: 661 661 ogreRelativeTo = Ogre::Node::TS_WORLD; break; 662 default: OrxAssert(false, "Faulty TransformSpace::Enum assigned."); 662 663 } 663 664 this->node_->setDirection(direction, ogreRelativeTo, localDirectionVector); … … 759 760 { 760 761 case Dynamic: 761 this->physicalBody_->setCollisionFlags(this->physicalBody_->getCollisionFlags() & ! (btCollisionObject::CF_STATIC_OBJECT | btCollisionObject::CF_KINEMATIC_OBJECT));762 this->physicalBody_->setCollisionFlags(this->physicalBody_->getCollisionFlags() & !btCollisionObject::CF_STATIC_OBJECT & !btCollisionObject::CF_KINEMATIC_OBJECT); 762 763 break; 763 764 case Kinematic:
Note: See TracChangeset
for help on using the changeset viewer.