LoadLevel() sequencer's spawnpoint
Posted: Tue Feb 26, 2019 9:09 am
Hello!
I have set up all the necessary elements to allow a transition between scenes and it works properly in most cases, yet when i try to set a NavMeshAgent's spawnpoint on a platform, it keeps getting "pulled" to the down first level (bottom floor) of my NavMesh.
Hopefully this picture, shows what i mean: The agent comes from the ladder and the highlighted transform (with the axis) represents the spawnpoint location. I have already tried to raise the spawnpoint transform a little bit away from the platform but the same ends up happening. My NavMesh also covers the platforms, as it can be seen in the next image: Has anyone ever experienced this problem? I suspect that it might be due to the way Unity deals with NavMeshes and its agents (the way it automatically aligns the agents with the Mesh when they are close enough), but i am not sure since there's another NavMesh "layer" (from the platform) closer to the spawnpoint and still the agent ends up falling through...
Awaiting for your feedback!
Thanks in advance,
João
I have set up all the necessary elements to allow a transition between scenes and it works properly in most cases, yet when i try to set a NavMeshAgent's spawnpoint on a platform, it keeps getting "pulled" to the down first level (bottom floor) of my NavMesh.
Hopefully this picture, shows what i mean: The agent comes from the ladder and the highlighted transform (with the axis) represents the spawnpoint location. I have already tried to raise the spawnpoint transform a little bit away from the platform but the same ends up happening. My NavMesh also covers the platforms, as it can be seen in the next image: Has anyone ever experienced this problem? I suspect that it might be due to the way Unity deals with NavMeshes and its agents (the way it automatically aligns the agents with the Mesh when they are close enough), but i am not sure since there's another NavMesh "layer" (from the platform) closer to the spawnpoint and still the agent ends up falling through...
Awaiting for your feedback!
Thanks in advance,
João