hi,
I know I have a lot of question, but I'm working with bones and there is a lot of stuff I want to do but I'm not sure it's possible or really easy.
I see that when you parent two bones, the child goes automaticaly to the end of the parent (except if using the “keep posiiton when parenting”). I was wondering if we can do the same with others objects like for exemple a line or a sphere.
For exemple I got two lines with length L1 et L2. I want the line l2 to go at the end of the first one and staying at the end if I change the length of l2….
I know I can do it if I just translate the line l2 corresponding to the length of l1, but I want an automatic way to do it…
Maybe looking for the parent attribut length…
But I cannot figure how to do it…
thanks for your ideas,
I really like this community.
I hope I will be helpfull for you soon
[RESOLVED] Parenting objects like joints
3020 4 0- dealer2couleurs
- Member
- 25 posts
- Joined: Feb. 2010
- Offline
- edward
- Member
- 7694 posts
- Joined: July 2005
- Offline
- dealer2couleurs
- Member
- 25 posts
- Joined: Feb. 2010
- Offline
alright thank you,
And is there a way to do that automaticaly…
like an expression to access an attribute from the parent node…
I could do it if I specify for each node the name of is parent,
then I could use a fetch node to get the parenting informations and some expression to access parent attributs.
But I'm looking for a better way to do that, using the fact that the node are connected.
I see some python script to retrieve parent of a node, but I don't know how I can make this kind of script to be evaluated each time the parent attribut change and/or each time the parent change.
And is there a way to do that automaticaly…
like an expression to access an attribute from the parent node…
I could do it if I specify for each node the name of is parent,
then I could use a fetch node to get the parenting informations and some expression to access parent attributs.
But I'm looking for a better way to do that, using the fact that the node are connected.
I see some python script to retrieve parent of a node, but I don't know how I can make this kind of script to be evaluated each time the parent attribut change and/or each time the parent change.
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
- dealer2couleurs
- Member
- 25 posts
- Joined: Feb. 2010
- Offline
-
- Quick Links