gametechmods

Robot Arena => General Support => Topic started by: Jaydee99 on April 12, 2018, 03:49:57 PM

Title: Nose math pi doesn't change the direction (fixed, thanks to SR and Badnik!!)
Post by: Jaydee99 on April 12, 2018, 03:49:57 PM
Me again
When I change the "'nose':math.pi" number, the robot doesn't turn around. I've swapped it with other lines that work but nothing turns it around. Not even changing the orientation of the bot file.
What do I do?
Title: Re: Nose math pi doesn't change the direction
Post by: Gulden on April 12, 2018, 04:58:59 PM
Gonna guess it's because you didn't add a * into it.
'nose':math.pi*2 should turn it a 180.
Title: Re: Nose math pi doesn't change the direction
Post by: Jaydee99 on April 12, 2018, 05:01:59 PM
I've done that plenty of times, all with no change whatsoever
Title: Re: Nose math pi doesn't change the direction
Post by: Badnik96 on April 12, 2018, 06:45:01 PM
have you checked to make sure there isn't a second bot with the same name in your bindings? that's usually what the issue is
Title: Re: Nose math pi doesn't change the direction
Post by: Jaydee99 on April 12, 2018, 06:47:04 PM
Ahh, yeah that's a recurring theme
I'll try changing them, thank you!!