Object level expressions

   2869   2   1
User Avatar
Member
47 posts
Joined: March 2014
Offline
Hi. Another beginner question!

I was wondering - what are the best approaches to create object level expressions to modify object transformations etc. For example I would like to make object automatically orient to the direction of its movement ( just an example ). I know i can write hscript/python directly in objects rotation parameters, but that is not very convenient ( I have to copy expression to each field ).
What I would like is like a SOP level Python node or VEXpression field in object level - so I could do some calculations and update all needed object properties from there.

What are recommended workflows for such things?
User Avatar
Member
8535 posts
Joined: July 2007
Offline
you can make Python based object level HDA

File/New Operator Type
choose Python Type/Object Operator

or process your transform on points in SOPs, then reference in transform parms of your object
or use CHOPs
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
47 posts
Joined: March 2014
Offline
:idea: that is exactly what I want! I did not know about creating new operator types! Awesome!!
  • Quick Links