[SOLVED] "Acquire_input_focus" for nested collection

Hello there.

I am loading via proxy a collection that contains some game objects AND an other collection, it seems i can get all this stuff initialised, but the contained collection seems to not acquire focus.

This collection alone outside of the proxy runs perfectly.

I’m missing something simple i know, but i don’t see it.

Do i need to post another “acquire_input_focus” message somewhere else than in this collection’s init() function ?

Sorry if this has already been answered, i’m not very skilled with english, maybe my searches were not well written.

Thanks.

Edit :

Ok, i had misunderstood this part thanks to my awesome english level
( from collection_proxy manual )

Input

If you have objects in your loaded collection that require input actions, you need to make sure that the game object that contains the collection proxy acquires input. When the game object receives input messages these are propagated to the components of that object, i.e. the collection proxies. The input actions are sent via the proxy into the loaded collection.

I stupidly thought that the collection_proxy was the object, and the message was not sent from the right place, so could not be propagated to the nested collection.

1 Like