Hi.
I want to move the youbot from one point (X1,Y1) to another (X2,Y2). I managed to calculate the distance between those 2 points and the inclination of the line that crosses both points. I rotate to correct the inclination so the youbot faces the object I want to go (0º of inclination), that way I just need to go forward to get to the point. But I cant control how much degrees I want to rotate.
Anybody knows how to do it?
Thanks
Controling the rotation Youbot
-
- Posts: 8
- Joined: 13 Jan 2014, 13:47
Re: Controling the rotation Youbot
Hi.
In the second link you talk about the object vehicleControl. Where can I find that object?
Thanks.
In the second link you talk about the object vehicleControl. Where can I find that object?
Thanks.
Re: Controling the rotation Youbot
Open the demo scene youBotAndHanoiTower.ttt. Open the hierarchy of the youBot model (in the scene hierarchy) and locate object vehicleControl. Then double-click on the script icon to its right.
Cheers
Cheers