skunk184
08-11-2009, 12:56 PM
hi all ,
okay I have a few hundred rigid bodies and I want to set them "active" depending on how close they are to a locator.
I can do this using the mag function and an expression that has every rigidBody in the scene in the expression and I can also probably do it by looping through everything(but i am thinking that is just a bad idea).
so is there a way to do this simply ??something like being able to use a wildcard in the index of a string array(eg $rigidBody
) ...
any help would be great
thanks in advance
Craig
okay I have a few hundred rigid bodies and I want to set them "active" depending on how close they are to a locator.
I can do this using the mag function and an expression that has every rigidBody in the scene in the expression and I can also probably do it by looping through everything(but i am thinking that is just a bad idea).
so is there a way to do this simply ??something like being able to use a wildcard in the index of a string array(eg $rigidBody
) ...
any help would be great
thanks in advance
Craig
