- Timestamp:
- Feb 18, 2018, 6:21:10 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/superorxobros/SOBQBlock.cc
r11766 r11773 64 64 //If you hit the QBlock, the visibility of all attached objects get inverted! Pretty easy way to create changing blocks :) 65 65 float v_z = otherObject->getVelocity().z; 66 int collDisZ_ = getPosition().z - contactPoint.getPositionWorldOnB().getZ();66 float collDisZ_ = getPosition().z - contactPoint.getPositionWorldOnB().getZ(); 67 67 if (!used_ && v_z > 50.0 && collDisZ_ > 0) { 68 68 used_ = true;
Note: See TracChangeset
for help on using the changeset viewer.