Small tweak to ripples

celladd
scrawl 10 years ago
parent 0e88fb3dca
commit 93ffdb427c

@ -113,7 +113,6 @@ void RippleSimulation::update(float dt, Ogre::Vector2 position)
position.z = 0; // Z is set by the Scene Node position.z = 0; // Z is set by the Scene Node
rotSpeed = mRippleRotSpeed; rotSpeed = mRippleRotSpeed;
rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI)); rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI));
created->setDimensions(50,50);
} }
} }

@ -1,8 +1,8 @@
particle_system openmw/Ripples particle_system openmw/Ripples
{ {
material openmw/Ripple material openmw/Ripple
particle_width 50 particle_width 30
particle_height 50 particle_height 30
// To make the particles move with the scene node when the waterlevel changes // To make the particles move with the scene node when the waterlevel changes
local_space true local_space true
quota 300 quota 300
@ -17,7 +17,7 @@ particle_system openmw/Ripples
affector Scaler affector Scaler
{ {
rate 100 rate 120
} }
affector Rotator affector Rotator

Loading…
Cancel
Save