Thomas Posted February 9, 2023 Share Posted February 9, 2023 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! Quote Link to comment Share on other sites More sharing options...
Chris Posted February 17, 2023 Share Posted February 17, 2023 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. Quote Link to comment Share on other sites More sharing options...
Thomas Posted February 24, 2023 Author Share Posted February 24, 2023 Hi Chris, Thanks for clarifying. I'll try out my new understanding of the angle values and let you know if I have any further questions. Best, Thomas Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.