by ikam » Thursday, 31.July 2014, 10:23
1/ yes
There is two points to see :
a) when multiply is above a joint operator, so between rigidbody and joint, it multiply only rigidbody, not joint.
b) when multiply is under a joint operator, it multiply all, rigidbody + joints.
when there is only a single instance of a rigidbody (no multiplied between rigidbody and joint), there is no problem to choose wich rigidbody to joint, it is the one designed by its name, but when there is many instance of one rigidbody, you may want to choose only a certain instance(s) of original rigidbody where to apply the joint. veryfirst always select the original rb.
2/ yes, each time you multiply the joint (so when multiply is under joint), eachfirst get the first rigidbody of each multiply operation.
3/ eachlast do the same, but get the last rb copy of each multiply operation.
eachfirst and eachlast are good to get only extremities when multipling joints.
4/ specified will go to search the instance id (id is a number from 0 (original) to x (nb max multiplied)) of all existing copy of a rigidbody (above and under). Range do the same, but where you can specify multiple instances to get.
5/ Joint search by name the rigidbody to join, add op has no particular effect as it will not go to other branch. only multiplied will be taken and they will act as there is no add...
all that is not easy to understand, and more to code... The best thing is trying to build something as a concrete scene to get possibilities.