burak.tezateser@nowherest
New member
Hello,
I've been using Behavior Designer for a while and I'm not entirely sure if this problem is related with Behavior Designer or something else but let me explain:
My problem occurs when I use seek with target position instead of target game object. When I reference a target game object, the pathfinding works smoothly. When I reference a target position, the agent starts moving to the north of the given position for a short while and then fixes its movement and starts moving to the right direction.
I'm checking if the position is referenced correctly and there is no problem with that:
Unity pathfinding shows the right direction as well but there is a secondary line showing (the velocity I assume) pointing north:
The agent will start moving to the north instead of south in this moment when I unpause the scene. After 1 second of moving north, it will adjust and start seeking the right position. It acts as if there is an external force pushing the agent to north at the start of the task.
If I increase the acceleration of the agent, it will act normally as well. This only happens when acceleration is low.
This might be related to:
- some navmesh problem
- pathfinding problem
- seek task problem
What do you think?
I've been using Behavior Designer for a while and I'm not entirely sure if this problem is related with Behavior Designer or something else but let me explain:
My problem occurs when I use seek with target position instead of target game object. When I reference a target game object, the pathfinding works smoothly. When I reference a target position, the agent starts moving to the north of the given position for a short while and then fixes its movement and starts moving to the right direction.
I'm checking if the position is referenced correctly and there is no problem with that:
Unity pathfinding shows the right direction as well but there is a secondary line showing (the velocity I assume) pointing north:
The agent will start moving to the north instead of south in this moment when I unpause the scene. After 1 second of moving north, it will adjust and start seeking the right position. It acts as if there is an external force pushing the agent to north at the start of the task.
If I increase the acceleration of the agent, it will act normally as well. This only happens when acceleration is low.
This might be related to:
- some navmesh problem
- pathfinding problem
- seek task problem
What do you think?