Created
June 6, 2014 06:08
-
-
Save gregtemp/383044ae1f8f1b766b05 to your computer and use it in GitHub Desktop.
The magic "pass dat vector" script for runtime before dynamics expression - Maya
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (particleShape1.particleId == 0) { | |
vector $myv = particleShape1.position; | |
string $myPy = "myOtherFunc(" + $myv.x + "," + $myv.y + "," + $myv.z +")"; | |
python($myPy); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes i know it's obvious.