mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
something
This commit is contained in:
parent
3d7a2516af
commit
907af78d6a
2 changed files with 4 additions and 2 deletions
|
@ -150,6 +150,7 @@ namespace HeavenStudio
|
|||
float dy = func(rotEluerLast.y, e.valB, Mathf.Min(prog, 1f));
|
||||
float dz = func(rotEluerLast.z, e.valC, Mathf.Min(prog, 1f));
|
||||
rotEluer = new Vector3(dx, dy, dz);
|
||||
|
||||
}
|
||||
if (prog > 1f)
|
||||
{
|
||||
|
@ -169,7 +170,8 @@ namespace HeavenStudio
|
|||
EasingFunction.Function func = EasingFunction.GetEasingFunction(e.ease);
|
||||
float dx = func(positionLast.x, e.valA, Mathf.Min(prog, 1f));
|
||||
float dy = func(positionLast.y, e.valA, Mathf.Min(prog, 1f));
|
||||
shakeResult = new Vector3(dx, dy);
|
||||
shakeResult = new Vector3(Mathf.Sin(dx * 3.14159265f * 5f) * e.valA, Mathf.Sin(dy * 3.14159265f * 10f) * e.valA);
|
||||
|
||||
}
|
||||
if (prog > 1f)
|
||||
{
|
||||
|
|
|
@ -337,7 +337,7 @@ namespace HeavenStudio
|
|||
//TODO: move cam
|
||||
}, 1f, true, new List<Param>()
|
||||
{
|
||||
new Param("valA", new EntityTypes.Float(0, 50, 10), "Intensity")
|
||||
new Param("valA", new EntityTypes.Float(0, 10, 2), "Intensity")
|
||||
} ),
|
||||
|
||||
new GameAction("move camera", delegate
|
||||
|
|
Loading…
Reference in a new issue