NorthHare Posted July 16, 2015 Share Posted July 16, 2015 (edited) I was wondering if anyone more well-versed in building than me could help with a small but irritating problem I'm having. I've got a desk that an NPC sits behind: http://i58.tinypic.com/15psxth.jpg When he gets up from it, I want him to walk following the green arrow, but what he actually does is follow the red arrow, doing a little loop away from the desk first and then turning back on himself which looks weird. It does work if I move the chair backwards away from the desk (too far back for him to be sitting at the desk) or so far to its right that the whole chair is clear of the desk so that he's sitting in the aisle (also no good). I've tried moving the chair to its right enough to have the marker clear of the desk (further right than in the screenshot) and I've even tried removing the desk's collision and extending the navmesh underneath it. Neither worked. Can anyone give me any possible solutions or have I just got to put up with his silly detour? Thanks. -Edited for clarity. Edited July 17, 2015 by NorthHare Link to comment Share on other sites More sharing options...
Mattiewagg Posted July 17, 2015 Share Posted July 17, 2015 Check the navmesh - you could make some smaller triangles along where the green would be, moving the other navmesh over, then Ctrl+P all these navmeshes along the green, which will make them preferred path so the NPC should follow it. Link to comment Share on other sites More sharing options...
NorthHare Posted July 17, 2015 Author Share Posted July 17, 2015 Thanks! I'll try that. My last method of yelling "Just walk forwards ffs!" certainly wasn't working. Link to comment Share on other sites More sharing options...
Mattiewagg Posted July 17, 2015 Share Posted July 17, 2015 Thanks! I'll try that. My last method of yelling "Just walk forwards ffs!" certainly wasn't working.Well, you always have to try that method first, because sometimes... It works. ;) Link to comment Share on other sites More sharing options...
NorthHare Posted July 17, 2015 Author Share Posted July 17, 2015 Yep, that helped (altering the navmesh, not the yelling :tongue:). I've got him down to doing a twirl. A bit more tweaking should sort him out. Thanks again! Link to comment Share on other sites More sharing options...
Mattiewagg Posted July 18, 2015 Share Posted July 18, 2015 Yep, that helped (altering the navmesh, not the yelling :tongue:). I've got him down to doing a twirl. A bit more tweaking should sort him out. Thanks again!Sure, anytime. Link to comment Share on other sites More sharing options...
Recommended Posts