- Timestamp:
- Jan 31, 2015, 5:31:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14/src/modules/jump/JumpPlatformVMove.cc
r10078 r10215 71 71 if ((position.z < lowerBoundary_ && velocity.z < 0) || (position.z > upperBoundary_ && velocity.z > 0)) 72 72 { 73 73 velocity.z = -velocity.z; 74 74 } 75 75 … … 87 87 void JumpPlatformVMove::setProperties(float lowerBoundary, float upperBoundary, float speed) 88 88 { 89 90 89 lowerBoundary_ = lowerBoundary; 90 upperBoundary_ = upperBoundary; 91 91 92 92 setVelocity(Vector3(0,0,speed)); … … 96 96 void JumpPlatformVMove::touchFigure() 97 97 { 98 98 figure_->JumpFromPlatform(this); 99 99 } 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.