Ignore:
Timestamp:
12/09/20 14:32:49 (3 years ago)
Author:
Sanahuja Guillaume
Message:

update ugv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Model_impl.cpp

    r361 r375  
    229229  // TODO: setEllipsoidRadius should be called in Model::setScale
    230230  // but we need to call recalculateBoundingBox
     231 
    231232  anim->setEllipsoidRadius(getTransformedBoundingBox().getExtent());
    232 
     233 
    233234  if (anim->collisionOccurred() == true) {
    234235    vector3df pos;
     
    238239    nodePosition = getPosition();
    239240    pos_rel = pos - nodePosition;
    240     // printf("collision %f %f %f\n",pos.X,pos.Y,pos.Z);
    241     // printf("object %f %f %f\n",nodePosition.X,nodePosition.Y,nodePosition.Z);
    242     // printf("rel %f %f %f\n",pos_rel.X,pos_rel.Z,pos_rel.Y);
     241     //printf("collision %f %f %f\n",pos.X,pos.Y,pos.Z);
     242     //printf("object %f %f %f\n",nodePosition.X,nodePosition.Y,nodePosition.Z);
     243     //printf("rel %f %f %f\n",pos_rel.X,pos_rel.Z,pos_rel.Y);
    243244
    244245    collision_mutex->GetMutex();
Note: See TracChangeset for help on using the changeset viewer.