DaaxGhost
December 13th, 2008, 03:56 PM
Ok. Well, I've been workin on a particle system with a single particle and i get an error on this part...
// Update particle's movement according to environment
m_Velocity = m_Velocity - Environment.getInstance().Gravity
+ Environment.getInstance().Wind;
I wanted it so that the particle is affaected by wind and gravity in the environment.
And if I don't have that line I can't continue and make an Environment without errors.
// Update particle's movement according to environment
m_Velocity = m_Velocity - Environment.getInstance().Gravity
+ Environment.getInstance().Wind;
I wanted it so that the particle is affaected by wind and gravity in the environment.
And if I don't have that line I can't continue and make an Environment without errors.