Link nodes

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderator: Oleg

Post Reply
User avatar
yandry
Posts: 87
Joined: Wed Oct 21, 2020 4:43 pm

Link nodes

Post by yandry »

Hello, I would like to put a piece inside another but when doing it already in animation some guide moves so that it remains fixed
https://ibb.co/2PRjDrR
https://ibb.co/hMQ7DnG
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Link nodes

Post by Oleg »

reset axes to world on original object and its parent. Use display\Axes\Reset to World tool.
User avatar
yandry
Posts: 87
Joined: Wed Oct 21, 2020 4:43 pm

Re: Link nodes

Post by yandry »

Oleg wrote: Tue Jan 12, 2021 9:47 pm reset axes to world on original object and its parent. Use display\Axes\Reset to World tool.
and how can you do with the anim? Since when selecting with the object already created and giving play it moves to another location
https://ibb.co/grKkwxk
User avatar
yandry
Posts: 87
Joined: Wed Oct 21, 2020 4:43 pm

Re: Link nodes

Post by yandry »

what I'm trying to say is when importing some object and adjusting it, I would also like the animation to be able to adjust according to the location already specified
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Link nodes

Post by Oleg »

animation file suppresses position/rotation of objects in a model file. Animation tracks specify full (world-space, relative to vehicle) position of objects, so you have to adjust animation files of you need to change a position of some elements.

In case position is the only thing to change, you can select an object, expand its properties and write down its General->Position X, Y, Z values. Then load animation in Tracks Editor, put associated track into editing window of Tracks Editor, select all keys using right mouse button and you will see properties of these keys on the left. it will have a "Position" X Y Z values too. Change them to those you've written down earlier and resave .pma file. So, changing a position of animated object is generally a quick task to do.

There was a small youtube video long time ago on how to do this:
https://www.youtube.com/watch?v=X1WWG4VT9Nw

It's not very accurate on how things are done there, but generally replicates what I've specified above.
User avatar
yandry
Posts: 87
Joined: Wed Oct 21, 2020 4:43 pm

Re: Link nodes

Post by yandry »

Oleg wrote: Fri Jan 29, 2021 10:06 pm animation file suppresses position/rotation of objects in a model file. Animation tracks specify full (world-space, relative to vehicle) position of objects, so you have to adjust animation files of you need to change a position of some elements.

In case position is the only thing to change, you can select an object, expand its properties and write down its General->Position X, Y, Z values. Then load animation in Tracks Editor, put associated track into editing window of Tracks Editor, select all keys using right mouse button and you will see properties of these keys on the left. it will have a "Position" X Y Z values too. Change them to those you've written down earlier and resave .pma file. So, changing a position of animated object is generally a quick task to do.

There was a small youtube video long time ago on how to do this:
https://www.youtube.com/watch?v=X1WWG4VT9Nw

It's not very accurate on how things are done there, but generally replicates what I've specified above.
I tried it but it is not exact and there is no alternative? that you can simply move all the animations of several objects at the same time and place them in the specific position and save the pma if it were so, it would be great
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Link nodes

Post by Oleg »

no, it does not work this way.

animation file contains position and rotation of bones it affects. you can't "move" animation (or animated object), you have to rewrite animation file so all animation key frames contain updated/refined position of the bone/object.
Post Reply