i’m looking at the new NPC Device documentation and i can’t understand how can i exposed my animations to verse assets file, lookin at the file reflection documentation, i see this:
"Currently, you can expose the following types of assets to Verse:
Meshes
Textures
Materials"
so we can’t exposed animations to verse? but how we can use custom animations with NPC Device?
i have no experience with the device but i guess you would add an editable to get the spawner then grab the agent from the spawned event to call the functions of the npc_character_asset
@editable
MyNPCSpawner : npc_spawner_device = npc_spawner_device{}
OnBegin<override>()<suspends>: void=
MyNPCSpawner.SpawnedEvent.Subscribe(OnNPCSpawned)
OnNPCSpawned (Agent:agent):void=
## do stuff to enable animations like grab the npc character asset and
## use that to call your animations
block: