I set up an AI agent and I use ObjectPool to create a pool for use in a scene. I have a spawner which gets the instances from the pool and places them in the world. The problem comes when an agent dies and is reused, the ragdoll is still active on them when they are spawned again.
I need to know the proper way to prepare a character for it to be spawned again. I looked into the CharacterRespawner and tried calling Respawn but this doesn't seem to work, the ragdoll is still active. Any ideas?
I need to know the proper way to prepare a character for it to be spawned again. I looked into the CharacterRespawner and tried calling Respawn but this doesn't seem to work, the ragdoll is still active. Any ideas?