Is it possible to drive an animation with a control?

   1338   7   3
User Avatar
Member
6 posts
Joined: 7月 2013
オフライン
Hi. Let’s say we have RoboCop.
He can pull out his gun from his leg — first, the leg opens, then the gun slides out.

Is it possible to link this animation to a control?
Basically, I want to move a single slider so that the leg opens and the gun comes out, instead of animating all that stuff every time separately.
User Avatar
Member
8131 posts
Joined: 7月 2005
オフライン
Maybe rig this with a skel::Blend [www.sidefx.com] ? Drive it with how much the leg opens. The issue here might be you need to deal with local space relative to the hip which might take more work. And then you'd want to add offset controls here so that one could animate on top of this.
User Avatar
スタッフ
134 posts
Joined: 10月 2023
オフライン
Hi, This is a little more advanced. But you can use channel prims to drive the animation.
Edited by william_harley - 2025年10月13日 10:23:42

Attachments:
Screencast from 2025-10-13 16-15-09.mp4 (380.3 KB)
drivenAnimation.hip (465.1 KB)

User Avatar
Member
2 posts
Joined: 11月 2024
オフライン
william_harley
Hi, This is a little more advanced. But you can use channel prims to drive the animation.
If it's an arm, and the lower part has fingers, that would be too complicated, right?

Is there a simpler way?
User Avatar
スタッフ
134 posts
Joined: 10月 2023
オフライン
guoli
If it's an arm, and the lower part has fingers, that would be too complicated, right?

Is there a simpler way?
Not at the moment, we are working on simplifying the process.
Edited by william_harley - 2026年4月15日 16:07:42
User Avatar
Member
31 posts
Joined: 3月 2015
オンライン
That's pretty nice william! Would it be possible in theory to store the pre-anim and add it as a copy of animated joints to the orig-rig and using the local-matrix of each control so that the animator could still animate on top?
User Avatar
Member
9587 posts
Joined: 7月 2007
オフライン
Fraenk
Would it be possible in theory to store the pre-anim and add it as a copy of animated joints to the orig-rig and using the local-matrix of each control so that the animator could still animate on top?
You can store a motion clip and do pretty much that

https://www.sidefx.com/forum/topic/103356/?page=1#post-456097 [www.sidefx.com]
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
スタッフ
134 posts
Joined: 10月 2023
オフライン
Fraenk
That's pretty nice william! Would it be possible in theory to store the pre-anim and add it as a copy of animated joints to the orig-rig and using the local-matrix of each control so that the animator could still animate on top?
Yes, you can simply build a local matrix rather than plugging it into the r. This way you can animate on top of of the driven animation.
Edited by william_harley - 昨日 04:09:39

Attachments:
Screencast_from_2026-04-20_10-08-47.gif (1015.5 KB)

  • Quick Links