Description
Currently, the LitMotion Animation component (Motion Player) only allows entering static Vector3 values for Start and End properties. While this works for fixed animations, it is restrictive when trying to animate between dynamic scene objects.

Use Case
In many UI and gameplay scenarios, we want an object (like a UI coin or a projectile) to move from its current position to another object's position. Manually copying Vector3 coordinates is workflow-heavy and doesn't account for objects that might move in the scene before the animation starts.
It is also essential for ensuring good responsiveness
Proposed Solution
Add a "Value Type" toggle or dedicated fields in the LitMotion Animation component inspector to allow:
- Manual: Existing Vector3 input.
- Transform/Reference: A slot to drag a Transform (for 3D) or RectTransform (for UI).
When a Transform is referenced, the component should internally evaluate transform.position or rectTransform.anchoredPosition at the start of the motion.
Examples:
- UI: Move an icon from its spawn point to a TargetContainer RectTransform.
- 3D: Move a camera from its current position to a ViewPoint empty GameObject.
Description

Currently, the LitMotion Animation component (Motion Player) only allows entering static Vector3 values for Start and End properties. While this works for fixed animations, it is restrictive when trying to animate between dynamic scene objects.
Use Case
In many UI and gameplay scenarios, we want an object (like a UI coin or a projectile) to move from its current position to another object's position. Manually copying Vector3 coordinates is workflow-heavy and doesn't account for objects that might move in the scene before the animation starts.
It is also essential for ensuring good responsiveness
Proposed Solution
Add a "Value Type" toggle or dedicated fields in the LitMotion Animation component inspector to allow:
When a Transform is referenced, the component should internally evaluate transform.position or rectTransform.anchoredPosition at the start of the motion.
Examples: