Jump to content

Clarification on Horizontal Angle to forward obstacles


Recommended Posts

In the user guide it says that the return value of the horizontal angle is a normalized angle, which I understand to be a value between 0 and 1, but when i use "show log" to display the horizontal angle it seems to be in the range of -90 to 90.

Additionally, I was wondering if there are any resources in addition to the user guide, as it doesn't answer many of my questions.

Thanks in advance for your help!


Link to comment
Share on other sites

Hi Thomas,


Sorry for any confusion about the normalized angle. I believe that is a mistake in the description. It will return a value that is negative or positive depending on angle. I believe an angle that is displayed as a negative value would be if the resulting raycast was sent at an angle like this \ or a positive value if it is like this /. From this information you should be able to create a behavior to have your vehicle turn either left or right.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...