# obstacle detect

JUMPMX

obstacle detection by raycasts

for jumpOn / jumpOver

* &#x20;.rayCont.freq : frequency
* .rayCont.distMax : ray length forward
* .rayCont.height.min : minimum height counted from actor feet
* .rayCont.height.max : maximum height counted from actor feet
* .rayCont.height.mid : space between rays
* .rayCont.height.up : ray start position up from first obstacle hit

for jumpClimb/Grab above head&#x20;

* .rayCont.distMax5 : ray length forward
* .rayCont.height5.min : minimum height counted from actor feet
* .rayCont.height5.min : maximum height counted from actor feet
* .rayCont.height5.mid : space between rays
* .rayCont.height5.up : ray start position up from first obstacle hit

<figure><img src="https://274375387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMn0TlKNWKe0XSjxGhBMD%2Fuploads%2FqyihNtZ2R9j4OcvWALN7%2Fjumpraycasts.jpg?alt=media&#x26;token=0c1a40d0-ce89-45c6-81da-b108d9e3e622" alt=""><figcaption></figcaption></figure>
