# Sample code for moving along a slope!

**URL:** <https://forum.babylonjs.com/t/sample-code-for-moving-along-a-slope/51492>\
**Category:** Demos and projects\
**Tags:** tutorial, camera, ray, character-controller\
**Created:** [June 20, 2024, 2:25pm UTC](https://forum.babylonjs.com/t/sample-code-for-moving-along-a-slope/51492 "2024-06-20T14:25:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotaro36](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kotaro36/32/40547_2.png) [@kotaro36](https://forum.babylonjs.com/u/kotaro36)\
**Post date:** [June 20, 2024, 2:25pm UTC](https://forum.babylonjs.com/t/sample-code-for-moving-along-a-slope/51492/1 "2024-06-20T14:25:45Z")

</div>

It’s not finished yet, but give the demo a try!

 ![Screenshot 2024-06-28 at 9.06.27](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/d/0db6a7684aeaf8ff31324b3f95124c63776020ba.jpeg)

demo

> **[Babylon.js - Sample code for moving along a slope](https://zutto-oreno-turn.com/babylonjs-thirdperson-example/index.html)**
>
> Babylon.js Third Person Example
