add_transition
Description:
Adds a transition to the Actor's list of animations.
The name string is a per-actor unique identifier of the transition: only one
Transition can be associated to the specified name.
The transition will be started once added.
This function will take a reference on the transition.
This function is usually called implicitly when modifying an animatable property.
Parameters:
| this |
a Actor |
| name |
the name of the transition to add |
| transition |
the Transition to add |