- Timestamp:
- Dec 2, 2013, 2:08:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/InvaderEnemy.cc
r9829 r9837 48 48 void InvaderEnemy::tick(float dt) 49 49 { 50 setVelocity(Vector3(500 ,0, 0)); 50 51 SUPER(InvaderEnemy, tick, dt); 51 52 } … … 53 54 inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint) 54 55 { 55 orxout() << "sadsadasfasf" << endl;56 setVelocity(Vector3(900,0,0)); 56 57 removeHealth(2000); 57 setVelocity(Vector3(0,0,1000));58 58 return false; 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.