Local Variables in RBD Object

   2005   2   1
User Avatar
Member
66 posts
Joined: Oct. 2008
Offline
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 ?
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
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.
There's at least one school like the old school!
User Avatar
Member
66 posts
Joined: Oct. 2008
Offline
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
  • Quick Links