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?
dependant position of object1 from point coordinates object2
3067 3 0- yurivoyt
- Member
- 4 posts
- Joined: 11月 2010
- Offline
- tamte
- Member
- 8836 posts
- Joined: 7月 2007
- Online
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
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
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- yurivoyt
- Member
- 4 posts
- Joined: 11月 2010
- Offline
- tamte
- Member
- 8836 posts
- Joined: 7月 2007
- Online
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
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
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links