Search - User list
Full Version: Local Variables in RBD Object
Root » Technical Discussion » Local Variables in RBD Object
morzh
I'm very curious why i can use local variables in Initial State params and can not do this in Physical section. E.g. why i can't vary density using 700+300*rand($OBJ) expression ?
old_school
I believe $OBJ is a string variable that contains the current processed object name and can not be evaluated as a float. Use $OBJID which is a float.
morzh
from help:
OBJ – This value is the index of the specific object being processed by the node.

OBJNAME This is a string value containing the name of the object being processed.

I've tried $OBJID, but result is the same
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB