Before you begin
Use a solid floor and a ceiling platform above it.
Build it step by step
Enable player actions. Set Crouch height % to about 55 and choose a Crouching speed below Walking speed.
Inspect the Crouch and Slide input actions and assign comfortable keys in Game controls.
Place the ceiling so a standing character cannot pass but the crouched body has room. Use Object details values for consistent spacing.
In Play, crouch and enter the tunnel. Release Crouch under the ceiling: the player should wait for clear space before standing.
Try a slide from outside the tunnel. Tune Sliding speed, Slide seconds and Slide cooldown; keep enough clear space at the exit.
Practical example
A tunnel can be a route choice: walk around it safely or crouch through a shortcut.
Test your work
The player crosses while low and cannot stand up inside the solid ceiling.
If it does not work
If the player is stuck, verify the available height and width. Do not rely only on transparent padding in the artwork to judge clearance.
Student challenge
Make two tunnels: one comfortable for crouching and one best approached with a slide.
Show the result to a partner. Explain what you changed and how you tested it.
