Nextbot getting stuck in doors and collision issues
4 replies, posted
Hi i'm currently making some nextbot npcs and they seem to keep getting stuck in doors and in general get stuck in or at corners.
I tried changing the size of the collision box using self:SetCollisionBounds( Vector(-14,-14,0), Vector(24,24,64) ) but i can't seem to get it work properly.
The npcs gets stuck in doors when the doors open towards them, is there any way to get this working properly?
Bump
As fair i know, you can't change collision bounds to npcs, you shuold handle collision, there's a hook for that
[QUOTE=gonzalolog;45796111]As fair i know, you can't change collision bounds to npcs, you shuold handle collision, there's a hook for that[/QUOTE]
Can you please tell me what hook?
I'm not sure if this works with NextBots but I don't see why it wouldn't.
[url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index8483.html[/url]
I posted the link to the hook on the old wiki because you should take serious note of the warning at the bottom.
Sorry, you need to Log In to post a reply to this thread.