Skip to content

Commit

Permalink
Added Animate Quaternion
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Mar 17, 2017
1 parent bdf9aa8 commit 2f61872
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/user_guide/nodes/animation/animate_euler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Animate Euler

Description
-----------
This node mix between two eulers where the factor for mixing is the time mapped to an input interval---*Duration*.
This node mixs between two eulers where the factor for mixing is the time mapped to an input interval---*Duration*.

.. image:: images/animate_euler_node.png
:width: 160pt

Inputs
------

- **Time** - A time or the factor for mixing.
- **Start** - A value to start the animation with or the first input for mixing.
- **End** - A value to end the animation with or the second input for mixing.
Expand Down
34 changes: 34 additions & 0 deletions docs/user_guide/nodes/animation/animate_quaternion.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Animate Quaternion
==================

Description
-----------
This node mixs between two quaternions where the factor for mixing is the time mapped to an input interval---*Duration*.

.. image:: images/animate_quaternion_node.png
:width: 160pt

Inputs
------

- **Time** - A time or the factor for mixing.
- **Start** - A value to start the animation with or the first input for mixing.
- **End** - A value to end the animation with or the second input for mixing.
- **Interpolation** - An Interpolation(Function) to evaluate the time at (Linear will just use the input time).
- **Duration** - The duration of the animation or the interval to map the time to.

Outputs
-------

- **Time** - The different between the input time and the duration (Isn't afected by the input interpolation).
- **Result** - The value of the animation evaluated at the input time or the result of mixing.

Advanced Node Settings
----------------------

- N/A

Examples of Usage
-----------------

.. image:: gifs/animate_quaternion_node_example.gif
6 changes: 3 additions & 3 deletions docs/user_guide/nodes/animation/animate_vector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Animate Vector

Description
-----------
This node mix between two vectors where the factor for mixing is the time mapped to an input interval---*Duration*.
This node mixs between two vectors where the factor for mixing is the time mapped to an input interval---*Duration*.

.. image:: images/animate_vector_node.png
:width: 160pt

Inputs
------

- **Time** - A time or the factor for mixing.
- **Start** - A value to start the animation with or the first input for mixing.
- **End** - A value to end the animation with or the second input for mixing.
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/user_guide/nodes/animation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ Animation
Animate Float <animate_float>
Animate Vector <animate_vector>
Animate Euler <animate_euler>
Animate Quaternion <animate_quaternion>

.. image:: images/animation_overview.png

0 comments on commit 2f61872

Please sign in to comment.