[0.11.2] Rats Cant Climb Stairs
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
[0.11.2] Rats Cant Climb Stairs
Not sure if this has always been the usual behavior for rats, but I only just noticed they cant climb stairs. I suppose this is why most places have ramps instead of stairs.
- pango
- Posts: 3358
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: [0.11.2] Rats Cant Climb Stairs
Just checked, and they can climb stairs in classic.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
Re: [0.11.2] Rats Cant Climb Stairs
So its a bug then.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: [0.11.2] Rats Cant Climb Stairs
Thanks for checking Pango. Will move to bug reports so we can investigate later.
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
Re: [0.11.2] Rats Cant Climb Stairs
https://www.youtube.com/watch?v=FmFJyaXeKeA
I tried changing the option for improved combat AI to see if that caused it but made no difference. The stairs have a weird shape though, and that may have something to do with it.
I tried changing the option for improved combat AI to see if that caused it but made no difference. The stairs have a weird shape though, and that may have something to do with it.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: [0.11.2] Rats Cant Climb Stairs
Yeah, stairs suck in Daggerfall. They're all kinds of weird in terms of riser and tread ratio, and don't have nice physics meshes to help traverse. Everything is scooting around on raw arbitrary geometry which is painful to code for.
My guess is that rats are having troubles because their collider height relative to stair riser height is beyond the controller's maximum step property. Hopefully it's something we can tune out without breaking something else.
My guess is that rats are having troubles because their collider height relative to stair riser height is beyond the controller's maximum step property. Hopefully it's something we can tune out without breaking something else.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: [0.11.2] Rats Cant Climb Stairs
Have taken a first pass at this one. Problem appears to partly involved with obstacle avoidance. I think the lower eyeline of the rat perceives the step in front of it as a wall and tries to route around it.
What's interesting is that just disabling obstacle avoidance alone doesn't solve the issue. Also needed to increase height of capsule to be in line with taller mobs so rat can step that high. So full issue appears to cross over a couple of areas - AI and controller physics.
Will need to loop back to this one later.
What's interesting is that just disabling obstacle avoidance alone doesn't solve the issue. Also needed to increase height of capsule to be in line with taller mobs so rat can step that high. So full issue appears to cross over a couple of areas - AI and controller physics.
Will need to loop back to this one later.