Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2005, 4:48:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: inherit speed from emitter is now also an option
for this i had to write a new PNode function, getVelocity (patrick: you could also use this one in the shoot-class, maybe).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/particles/particle_system.h

    r3936 r3938  
    4949
    5050  void setMaterial(Material* material);
     51  void setInheritSpeed(float value);
    5152  void setLifeSpan(float lifeSpan, float randomLifeSpan = 0.0);
    5253  void setRadius(float startRadius, float endRadius, float randomRadius = 0.0);
     
    6667  float initialMass;
    6768  float randomInitialMass;
    68  
     69  float inheritSpeed;
     70
    6971  // particles
    7072  int maxCount;              //!< The maximum count of Particles.
Note: See TracChangeset for help on using the changeset viewer.