UPBGE / upbge

UPBGE, the best integrated game engine in Blender
https://upbge.org
Other
1.39k stars 177 forks source link

TrackTo not working with appended files #1797

Closed ThiagoMoraesGD closed 1 year ago

ThiagoMoraesGD commented 1 year ago

Edit object actuator stop working when the object is appended from another file.

test-trackto.zip

youle31 commented 1 year ago

it works if you convert first Cube.001 then Cube:

Capture

It is an expected behaviour since for now, we can only convert objects 1 after 1 (Not like in normal BlenderDataConversion where all KX_GameObject are available near the beginnning and that relationships between objects can be created because the whole gameobject list is available).

It's a known limitation and it's a bit similar to https://github.com/UPBGE/upbge/issues/1716 . (An option for later would eventually be to make it possible to convert instance collections after runtime beginning). I close this as it is similar to other report and that I added the reference to the report in this one.