Changeset 3105 for code/trunk/src
- Timestamp:
- May 28, 2009, 7:15:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc
r3088 r3105 46 46 { 47 47 CreateFactory(Projectile); 48 48 49 49 Projectile::Projectile(BaseObject* creator) : MovableEntity(creator) 50 50 { … … 60 60 { 61 61 this->enableCollisionCallback(); 62 62 this->setCollisionResponse(false); 63 63 this->setCollisionType(Kinematic); 64 64 65 65 SphereCollisionShape* shape = new SphereCollisionShape(this); 66 shape->setRadius( 10);66 shape->setRadius(20); 67 67 this->attachCollisionShape(shape); 68 68 … … 104 104 { 105 105 if (otherObject == this->owner_) 106 return true;106 return false; 107 107 108 108 this->bDestroy_ = true;
Note: See TracChangeset
for help on using the changeset viewer.