1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:49:58 +00:00

Small tweak to ripples

This commit is contained in:
scrawl 2015-02-14 15:53:01 +01:00
parent 0e88fb3dca
commit 93ffdb427c
2 changed files with 3 additions and 4 deletions

View file

@ -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);
}
}

View file

@ -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