# Typo in PhysicsCharacterController docs

**URL:** <https://forum.babylonjs.com/t/typo-in-physicscharactercontroller-docs/59537>\
**Category:** Bugs\
**Tags:** documentation\
**Created:** [July 15, 2025, 1:11am UTC](https://forum.babylonjs.com/t/typo-in-physicscharactercontroller-docs/59537 "2025-07-15T01:11:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![William](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/william/32/47555_2.png) [@William](https://forum.babylonjs.com/u/William)\
**Post date:** [July 15, 2025, 1:11am UTC](https://forum.babylonjs.com/t/typo-in-physicscharactercontroller-docs/59537/1 "2025-07-15T01:11:44Z")

</div>

In PhysicsCharacterController, there is a comment/typedoc documentation that has a typo:

```auto
/**
 * cosine value of slop angle that can be climbed
 * computed as `Math.cos(Math.PI * (angleInDegree / 180.0));`
 * default 0.5 (value for a 60deg angle)
 */
maxSlopeCosine: number;

```

slop should be slope

---

<div class="post-metadata">

**Author:** ![henry973calvi](https://avatars.discourse-cdn.com/v4/letter/h/67e7ee/32.png) [@henry973calvi](https://forum.babylonjs.com/u/henry973calvi)\
**Post date:** [July 15, 2025, 8:36am UTC](https://forum.babylonjs.com/t/typo-in-physicscharactercontroller-docs/59537/3 "2025-07-15T08:36:11Z")

</div>

> [@William](#):
>
> In PhysicsCharacterController, there is a comment/typedoc documentation that has a typo:
> 
> ```auto
> /**
> * cosine value of slop angle that can be climbed
> * computed as `Math.cos(Math.PI * (angleInDegree / 180.0));`
> * default 0.5 (value for a 60deg angle)
> */
> maxSlopeCosine: number;
> 
> ```
> 
> slop should be slope

/\*\*

- cosine value of slope angle that can be climbed
- computed as `Math.cos(Math.PI * (angleInDegree / 180.0));`
- default 0.5 (value for a 60deg angle)  
\*/  
maxSlopeCosine: number;

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [July 15, 2025, 8:50am UTC](https://forum.babylonjs.com/t/typo-in-physicscharactercontroller-docs/59537/4 "2025-07-15T08:50:34Z")

</div>

> <https://github.com/BabylonJS/Babylon.js/pull/16880>
