No description
Two RayCast2D edge sensors point down into the floor edgeSensorRange to each side of the slime. When one stops touching floor there's an edge in range on that side, and pressing down slides to it, swings over the corner and carries on down the wall so the slime ends flat against it. - Down + a direction picks that side; down alone goes the way the slime is facing, or the other way if only that side has an edge in range. - Down in the middle of a platform does nothing. - edgeSensorRange is exported (default 24, tuned with a headless sweep). - Wraps can now start with a straight move to the arc, and end with a move_and_slide so is_on_floor()/is_on_wall() aren't stale afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .vscode | ||
| Assets | ||
| Autoloads | ||
| Characters | ||
| Levels | ||
| UI | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| default_bus_layout.tres | ||
| icon.svg | ||
| icon.svg.import | ||
| placeholder_tiles.tres | ||
| project.godot | ||