Issue with agents on different elevation

artius

Member
Hi, I'm having an issue with the Can See Object and Seek tasks. I have them connected with a Sequence task with a Self conditional abort. When on the same ground level as the player, or the player is up stairs it works as expected, but if the player is standing on a floating platform the agent will continuously walk toward the player's position. Has anyone seen this issue before?
 

Justin

Administrator
Staff member
Have you tried enabling debugging on the task to see what is causing the agent to see/not see when you don't expect it to?

 

artius

Member
I ended up fixing it. I set my target offset too high but just high enough for the raycast to register and not register between frames. It wasn't as noticeable on flat ground.
 
Top