I am writing a python script that spawns two cubes (cube_1, cube_2) in a sequencer, as spawnables with the “add_spawnable_from_instance” method .
So what I am trying next is to attach cube_2 to cube_1 with the MovieScene3DAttachTrack and spawning and adjusting the track was fairly easy.
But I am failing at the “Contraint Binding ID”.
Just a very rough example:
attach_track = cube_2.add_track(unreal.MovieScene3DAttachTrack)
attach_settings = attach_track.add_section()
and I tried to set the binding with:
attach_settings.set_constraint_binding_id(guid of cube_1)
and sadly some other methods that did not work out in my case…
If you could give me a hint or even the solution that would be great!
Thank you in advance!
Have a nice day!