Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2010, 1:40:16 PM (14 years ago)
Author:
gnadler
Message:

Success:
Now rocket spawns somewhere around the ship and the orientation is more or less correct. The controller does nothing but change some pitch/roll (to be sure it does something).
I modified the rocketfire particle to produce rocketfire2.particle which is slightly smaller and matches the smaller rocket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/RocketController.h

    r6814 r6834  
    3535#include "tools/interfaces/Tickable.h"
    3636#include "weapons/projectiles/SimpleRocket.h"
     37#include "weapons/weaponmodes/SimpleRocketFire.h"
    3738
    3839namespace orxonox
     
    5152           
    5253            virtual void tick(float dt);
     54                        SimpleRocket* getRocket(){return rocket;};
    5355        protected:
    5456
    5557
    5658        private:
     59                        SimpleRocket* rocket;
    5760
    5861    };
Note: See TracChangeset for help on using the changeset viewer.