Question by
AnnaS · Feb 09, 2017 at 05:04 PM ·
animationanimationclip
Can't get SetCurve to work - wrong relativePath
I create gameobjects at runtime and have the following hierarchy
node0 <- Animation component is here
|__node1
| |__ node2
| |___node3 <- Animation clip refers to this node
|__node4
|__node5
Anyway I'm having bad luck at having the animation play. What should I put in the relativePath
?
Comment
Answer by yangcookie_ · Mar 18, 2021 at 09:26 AM
I think "node0/node1/node2/node3" is correct.
for example, in my case, "_6_15_t/Hips/RHipJoint/RightUpLeg/RightLeg"
Your answer
![](https://koobas.hobune.stream/wayback/20220612110720im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Animation Constantly Playing? 1 Answer
Character rolls forward,but slides back after animation 2 Answers
[2D] Play animation backward. 1 Answer
How to add clips to my 3D model ? 0 Answers