View Single Post
Re: Navigation using AABB
Old
  (#16)
Neoptolemus
Member
 
Status: Offline
Posts: 93
Join Date: Apr 2012
Default Re: Navigation using AABB - 20-04-2017

Quote:
Originally Posted by The Storm View Post
From very long time I've also wasn't digging in bot movement/looking code so I can't really point out a solution, but if you have trouble compiling some function I will be glad to help.
Thanks!

I've had a new problem crop up which has me completely stumped: the bots can't crouch any more! I had it working great, the bots were able to climb ladders, crouch into vents etc, and then suddenly they stopped crouching. Now they sort of start walking but remain standing up.

To try and debug the issue, I commented out all code and just set the bot's forward speed to pEdict->v.maxspeed and pEdict->v.button |= IN_DUCK. The bots just start walking. What the hell?!

EDIT: Never mind, no idea how I fixed it but it works now. I really need to abstract some of this stuff and hide it somewhere safe so I don't keep accidentally breaking it.

Last edited by Neoptolemus; 21-04-2017 at 00:08..
  
Reply With Quote