mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 13:06:40 +00:00
Small tweak to ripples
This commit is contained in:
parent
0e88fb3dca
commit
93ffdb427c
2 changed files with 3 additions and 4 deletions
|
@ -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…
Reference in a new issue