Copy @v From Static To Animated Object

   1065   2   1
User Avatar
Member
78 posts
Joined: June 2019
Offline
Crosspost from Odforce, as this one is proving difficult!

I have two objects. A static object I'm creating velocity vectors on, and a duplicate / animated version of the first object.

I'm trying to copy velocity vectors from the static object onto the duplicate animated object, but the point rotations are not accounted for. The copied velocity vectors keep pointing in the original directions.

How can I transfer the animated velocity vectors from the static hair curves onto the now animated vellum hair curves?

.hip file attached
Edited by GlennimusPrime - Feb. 7, 2023 18:40:34

Attachments:
transfer_v_complex_version.hiplc (711.1 KB)
hair_vectors_copy.gif (1.5 MB)

User Avatar
Staff
356 posts
Joined: Feb. 2008
Offline
Instead of an attrib copy SOP, use an attrib reorient SOP, plug the static mesh in the second input, and set v as vector attrib.
User Avatar
Member
78 posts
Joined: June 2019
Offline
npetit
Instead of an attrib copy SOP, use an attrib reorient SOP, plug the static mesh in the second input, and set v as vector attrib.
This didn't quite work for me. It was somewhat there, but some of the vectors were not exactly copying correctly from the original source.

A very helpful user named islamoos over on ODforce helped me find a working solution.

.hip file attached if anyone else is after a similar thing.

Attachments:
transfer_v_complex_version_FIX.hiplc (1.2 MB)

  • Quick Links