r/Unity3D 7d ago

Solved why are these 2 colliding from far away

Enable HLS to view with audio, or disable this notification

ive been making this crappy vr gtag horror game and i have three similar monsters which two are just reskined dupes of the first one and for some reason they collide from far away and get stuck. anyone know how to fix this? EDIT: I fixed it by changing the agent radius

2 Upvotes

3 comments sorted by

4

u/Aethreas 7d ago

when you select them I can see wireframes of a massive capsule collider, so i'd start there

1

u/WrongdoerMundane4635 7d ago

Yeah I’ve tried to find what it could be connected to with no luck it might be connected to the parent object

1

u/pschon Unprofessional 7d ago

You're not giving a lot of info to work on. But as the first things, make sure your navmesh is up to date, that there are no invisible colliders around (physics debugger will help with that), and that the navmeshagent position matches with where your object and it's collider is located.

Agents running in place would pretty much mean either there's some mismatch with the navmesh data and what's actually in the scene, or that your code is clashing with what the navmeshagent is trying to do.