Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
912 stars 104 forks source link

Possible to slide through Laboratory windows due to step check behaviour #305

Open niefia opened 2 weeks ago

niefia commented 2 weeks ago

Cogito and Godot Engine Version: Godot version: 4.2.2 Cogito version: beta 202409.04

Description: Possible to slide through Laboratory windows due to step check behaviour

Reproduction steps:

  1. Run at the Windows in the Laboratory
  2. Should enter the windows, due to step check registering them as step
  3. Also enters slide as player forced into crouch, whilst running

Expected behavior: Not sliding through windows. Can be fixed by lowering default step height

Screenshots: The type of window: windows

OvercastInteractive commented 2 weeks ago

I would also like to add that because this template supports auto-crouching, crouch jumping, stepped-geometry stairways and the like that there should be some guidelines for things like window height from the ground, stair step and table height.

I also think lowering the default step height a little would feel more accurate, because you can too easily walk up onto the coffee table in the lobby, and at the same time it should retain the smooth movement and capabilities of walking over ledges and grounded objects easily that come with a higher step height.

Because the feature is quite dynamic it might just be a matter of having some basic guidelines for minimum window and table height, otherwise it would just require lots of testing and iteration to fix all the exploits, which is expected regardless. 😭