
Character Step 1.0 Scripts 4.4 Community
Submitted by user Panthera; MIT; 2025-06-16
This static class helps CharacterBody3D objects ascend and descend ledges such as stairs. PhysicsServer3D.body_test_motion() is used to project the character as if they were moving up the ledge to test for collision. Then either a clear position is returned or the CharacterBody3D’s original position, where the body was before the projection, is returned to indicate the ledge can not be ascended or descended.
This is a demo level that also includes a bare bones third person controller that shows how to use the script. If you are just after the script head here: https://github.com/PantheraDigital/GodotCharacterStep/blob/main/scripts/character_step.gd
View files Download Submit an issue Recent Edits