yurivoyt
Nov. 4, 2010 06:47:40
Hi guys,
I have a scene with 2 objects. I want one of the objects to be dependent from the coordinates of the top point of another object.
So if the initial object`s top point is moved the dependent object is also moved
Can you please help?
tamte
Nov. 4, 2010 07:20:56
look at Rivet object node
set point number of first object in Point Group Parameter
parent second object under Rivet object
to get stable result you should have N and Up vector attributes on first object so Rivet can calculate rotation from them and check Use Point attributes… checkbox
yurivoyt
Nov. 4, 2010 08:55:23
thank you for the reply, I see what you mean.
The issue is more complicated for me because I need to specify these parameters via the expression for the distance tool otl.
I have sent you a PM with that.
Thanks for the help!
tamte
Nov. 4, 2010 10:16:18
as expression you can use
origin(“”, “../relative/path/to/your/object”, “TX”)
origin(“”, “../relative/path/to/your/object”, “TY”)
origin(“”, “../relative/path/to/your/object”, “TZ”)
and that object can be rivet so you have easy access to points that way
i've sent you updated asset which takes optional object inputs so you can connect objects directly(including rivet) and the distance will be calculated