Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2008, 4:59:36 PM (17 years ago)
Author:
rgrieder
Message:
  • More dealings with not yet implemented scaling of physical objects.
  • Clearer handling of masses specified by setMass() (also taking into account mass of child WE)
  • Now calculating the inertia tensor as well according to mass and collisionShape
  • Bugfix when calling Bullet solver
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/worldentities/collisionshapes/CollisionShape.cc

    r2304 r2306  
    7878        return omni_cast<btVector3>(this->node_->getScale());
    7979    }
     80
     81    void CollisionShape::setScale3D(const Vector3& scale)
     82    {
     83        ThrowException(NotImplemented, "Cannot set the scale of a collision shape: Not yet implemented.");
     84    }
     85
     86    void CollisionShape::scale3D(const Vector3& scale)
     87    {
     88        ThrowException(NotImplemented, "Cannot set the scale of a collision shape: Not yet implemented.");
     89    }
    8090}
Note: See TracChangeset for help on using the changeset viewer.