Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 17, 2019, 4:36:37 PM (5 years ago)
Author:
cwaupoti
Message:

final version2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Boxhead_FS19/src/modules/hover/HoverWall.cc

    r12398 r12399  
    102102
    103103        model_ = new Model(this->getContext());
    104         model_->setMeshSource("CuboidBody.mesh");
    105         model_->setScale3D(Vector3(xSize_*1.0f, cellHeight*1.0f, zSize_*1.0f));
     104        // model_->setMeshSource("CuboidBody.mesh");
     105        model_->setScale3D(Vector3(xSize_*1.0f, cellHeight*400000000.0f, zSize_*1.0f));
    106106        model_->setPosition(Vector3(xPos_*1.0f, 0.0f, zPos_*1.0f));
    107107
     
    109109
    110110        cs_ = new BoxCollisionShape(this->getContext());
    111         cs_->setHalfExtents(Vector3(xSize_*1.0f, cellHeight*100000.0f, zSize_*1.0f));
     111        cs_->setHalfExtents(Vector3(xSize_*1.0f, cellHeight*400000000.0f, zSize_*1.0f));
    112112        cs_->setPosition(Vector3(xPos_*1.0f, 0.0f, zPos_*1.0f));
    113113
Note: See TracChangeset for help on using the changeset viewer.