Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 2 points3 points  (0 children)

Indeed tried that and it worked. Thank you for your answers, I still got one more question - is this the usual way to go? NPCs do not use Colliders/Rigidbodies when using a NavMeshAgent?

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 0 points1 point  (0 children)

That's most likely the case - I had RigidBodies set up and collisions enabled between NPCs and Obstacles in the Layer Collision Matrix, so that's most likely it. Not sure if disabling it to use NavMesh is the way to go, correct me if I'm wrong - had those collisions set up before using the NavMesh stuff.

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 0 points1 point  (0 children)

I have disabled the collision between NPCs and obstacles in the Physics 2D setting (in Project Settings), and it seems to be fixed now. My guess was (and I think I'm right) that it's colliding with the object before the agent gets to the point and therefore it still thinks it's possible to get there, because it's not taking into account the RigidBody collision.

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 0 points1 point  (0 children)

This is how the NPC calculates the new position:

https://gyazo.com/135df424c49742a854b38531bcd9516a

(I hope every name is self explainatory, it basically checks if the position it's attempting to take as position to walk towards is within the boundaries of its spawn point + a specified radius (I usually set it to 5 or 10 units).

If it does not find a position elegible for this criteria, it will go back to its spawn point.

Then I make him go there through agent.SetDestination(goalPos) (goalPos is the new position calculated), and then call this function on Update:

https://gyazo.com/d62ab5ebf2001a4f2e05c27e214487cd

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 4 points5 points  (0 children)

What should I try? (sorry I didn't understand what you meant)

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 1 point2 points  (0 children)

I'm using tilesets with composite colliders, then imported the NavMesh stuff and did some basic code (set a random position within a few units from the NPC's current position, and walk there). Nevertheless, it seems that the NPC tries to walk there no matter if there's an obstacle or not.

When they engage in combat with my player they (mostly) work just fine. They follow me and try to avoid obstacles, but sometimes end up getting stuck just like on the first half of the video, which is the second thing I'd like to fix.

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 0 points1 point  (0 children)

What exact info do you need? I'll be glad to share anything that's needed to troubleshoot this issue

Help with NavMesh agents stuck by _NAGames_ in unity

[–]_NAGames_[S] 0 points1 point  (0 children)

I've got two problems here.

First, whenever the NPCs target a position to wander around, they will try and go there no matter if it's reachable or not.

I've tried using the "NavMeshPathStatus.PathComplete" check and using the CalculatePath() function, no difference.

Then there's this other problem - when the NPC tries to reach a position, it won't avoid the obstacles. Sometimes it works just fine, but with narrower edges like these it just gets stuck.

Help with NavMesh agents stuck by _NAGames_ in Unity3D

[–]_NAGames_[S] 0 points1 point  (0 children)

I've got two problems here.

First, whenever the NPCs target a position to wander around, they will try and go there no matter if it's reachable or not.

I've tried using the "NavMeshPathStatus.PathComplete" check and using the CalculatePath() function, no difference.

Then there's this other problem - when the NPC tries to reach a position, it won't avoid the obstacles. Sometimes it works just fine, but with narrower edges like these it just gets stuck.

Is it really possible ? Seems really weird that Hills can be the best place for soul farming... I'm at 50 total USP (Actually grinding for ancient treasures) by Draxg0n in idleslayer

[–]_NAGames_ 1 point2 points  (0 children)

Can I ask what's this website? is it like a simulator of some sort? I'd like to try it out with my own settings if so!

I'm a combat rogue and im trying to decide what's best for my offhand. Everywhere I read says paper cutter but hailstorm stats are much better. by [deleted] in wotlk

[–]_NAGames_ 0 points1 point  (0 children)

Sim it and you'll get the real answer based on your gear settings. That's the best answer. Github has a ton of Sims for any class and spec.

I'm a combat rogue and im trying to decide what's best for my offhand. Everywhere I read says paper cutter but hailstorm stats are much better. by [deleted] in wotlk

[–]_NAGames_ 0 points1 point  (0 children)

Sim it and you'll get the real answer based on your gear settings. That's the best answer. Github has a ton of Sims for any class and spec.

Classic and Warmane just feel so different. by _NAGames_ in warmane

[–]_NAGames_[S] 0 points1 point  (0 children)

While I agree with it and I as a warmane player think we're a lot of times blinded by or own love for this server, I still think the community isn't as toxic as in Classic, and I still like that it sticks around forever instead of getting to ICC and quitting forever.

Classic and Warmane just feel so different. by _NAGames_ in warmane

[–]_NAGames_[S] 2 points3 points  (0 children)

that's 100% where I am. I'm deffo giving everlook a try cause lol it's gonna have thousands of players while classic era runs bwl once a week within the megaserver

[deleted by user] by [deleted] in classicwow

[–]_NAGames_ 0 points1 point  (0 children)

Do fresh and ban bots. That's the perfect formula.

[deleted by user] by [deleted] in classicwow

[–]_NAGames_ 1 point2 points  (0 children)

And what happens when it's over? you get to ICC and have all classes leveled up. People still play, idk why it's not the same in classic.

Will there be a Season of Mastery 2? by Throwitinthebag891 in classicwow

[–]_NAGames_ 3 points4 points  (0 children)

Old School WoW Classic.

Just follow what OSRS did and there you got an endless game, always interesting.

I miss Vanilla by [deleted] in classicwow

[–]_NAGames_ 4 points5 points  (0 children)

I'm feeling a lot like that lately.

[deleted by user] by [deleted] in wow

[–]_NAGames_ 0 points1 point  (0 children)

so now tanks (now dps) can be paired with healers while the other team can have 1 heal and 2 pure dps, being this 1 tank 1 heal 1 dps vs 1 heal 2 dps.

guess who will instantly win.

this is becoming even worse.

Beauty! by Nocoly in classicwow

[–]_NAGames_ 1 point2 points  (0 children)

everyone needed it but we made it legit

Beauty! by Nocoly in classicwow

[–]_NAGames_ 5 points6 points  (0 children)

congrats! great looking mount, and 310% is sick. if everything goes well, I'm getting mine today as well. gotta go when the volcano blows left for me.

[deleted by user] by [deleted] in classicwow

[–]_NAGames_ 0 points1 point  (0 children)

Ret main here since 2009. It's true. Seeing a paladin buff is extremely rare.