Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2013, 2:08:46 PM (11 years ago)
Author:
zifloria
Message:

new Explosions!!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/invaders/src/modules/invader/InvaderEnemy.cc

    r9829 r9837  
    4848    void InvaderEnemy::tick(float dt)
    4949    {
     50        setVelocity(Vector3(500 ,0, 0));
    5051        SUPER(InvaderEnemy, tick, dt);
    5152    }
     
    5354    inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)
    5455    {
    55         orxout() << "sadsadasfasf" << endl;
     56        setVelocity(Vector3(900,0,0));
    5657        removeHealth(2000);
    57         setVelocity(Vector3(0,0,1000));
    5858        return false;
    5959    }
Note: See TracChangeset for help on using the changeset viewer.