Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2009, 11:53:09 PM (15 years ago)
Author:
bknecht
Message:

introducing the bouncing pickup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickups2/src/orxonox/objects/pickup/PickupSpawner.h

    r3042 r3046  
    109109        float triggerDistance_;                 //!< Distance in which this gets triggered.
    110110
     111        /* Pickup animation */
     112        float tickSum_;                         //!< Adds up tick to use in sine movement
     113        static const float bounceSpeed_s;       //!< Speed of pickup to bounce up and down
     114        static const float bounceDistance_s;    //!< Distance the pickup bounces up and down
     115        static const float rotationSpeed_s;     //!< Rotation speed of pickup
     116
    111117        float respawnTime_;                     //!< Time after which this gets re-actived.
    112118        Timer<PickupSpawner> respawnTimer_;     //!< Timer used for re-activating.
Note: See TracChangeset for help on using the changeset viewer.