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
rotSpeed = mRippleRotSpeed;
rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI));
created->setDimensions(50,50);
}
}

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

Loading…
Cancel
Save