I have a procedural walker, and want to use it as the target of a Suction Force DOP, to have liquid flowing around its body.
From what I have seen, the suction force yields better results, if the target is not moving.
I have seen people use a transform SOP and then an invert transform.
But I don't know how keep the character centered in X and Z, every frame, using the transform SOP.
Using Match Size, I can easily center the character on a per axis basis, every frame, but I don't know how to invert the transformation after, to get it back to its original position.
How to center a walking character and invert the transform?
980 4 1- cheesetroyer
- Member
- 45 posts
- Joined: Nov. 2016
- Offline
- cheesetroyer
- Member
- 45 posts
- Joined: Nov. 2016
- Offline
- tamte
- Member
- 8572 posts
- Joined: July 2007
- Online
- tamte
- Member
- 8572 posts
- Joined: July 2007
- Online
cheesetroyerif you go with Match Size just check Stash Transform at the bottom, that will store transform in detail attrib
Using Match Size, I can easily center the character on a per axis basis, every frame, but I don't know how to invert the transformation after, to get it back to its original position.
as long as you preserve that attrib all the way till th end or copy it back you can then append another Match Size and check Restore Transform to bring it back
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- cheesetroyer
- Member
- 45 posts
- Joined: Nov. 2016
- Offline
tamteThank you very much, this was very helpful.
I assume you are not using KineFX as that has its own Locomotion extraction tools, but for any cached deforming geo you can also use extract centroid and transform pieces
I had tried it with the invert transform, but I didn't manage to get it to transform the simulated fluid, in order to match the character's position. With your method, I could simply merge in the fluid before the "transformpieces_to_world".
-
- Quick Links